Check-in [2eebe5c20b]
Overview
Comment:Fixed order of whole-archive checking since GNU ld will succeed and ignore options
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2eebe5c20bc7683fbcb7584a5bb4a65c560647bd
User & Date: rkeene on 2010-10-04 18:25:40
Other Links: manifest | tags
Context
2010-10-04
18:36
KitCreator 0.5.0.x check-in: ef2f679de2 user: rkeene tags: trunk, 0.5.0
18:25
Fixed order of whole-archive checking since GNU ld will succeed and ignore options check-in: 2eebe5c20b user: rkeene tags: trunk
18:20
Updated to support Solaris method of specifying the whole archive check-in: d68d005c05 user: rkeene tags: trunk
Changes

Modified kitdll/buildsrc/kitdll-0.0/aclocal.m4 from [0b9994b3dd] to [269cb779e2].

   337    337   AC_DEFUN(DC_CHECK_FOR_WHOLE_ARCHIVE, [
   338    338   	AC_MSG_CHECKING([for how to link whole archive])
   339    339   
   340    340   	SAVE_CFLAGS="${CFLAGS}"
   341    341   
   342    342   	wholearchive=""
   343    343   
   344         -	for check in "-Wl,-z,allextract -Wl,-z,defaultextract" "-Wl,--whole-archive -Wl,--no-whole-archive"; do
          344  +	for check in "-Wl,--whole-archive -Wl,--no-whole-archive" "-Wl,-z,allextract -Wl,-z,defaultextract"; do
   345    345   		CFLAGS="${SAVE_CFLAGS} ${check}"
   346    346   
   347    347   		AC_LINK_IFELSE(AC_LANG_PROGRAM([], []),
   348    348   			[
   349    349   				wholearchive="${check}"
   350    350   
   351    351   				break