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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
AC_DEFUN(DC_CHECK_FOR_WHOLE_ARCHIVE, [
	AC_MSG_CHECKING([for how to link whole archive])

	SAVE_CFLAGS="${CFLAGS}"

	wholearchive=""

	for check in "-Wl,-z,allextract -Wl,-z,defaultextract" "-Wl,--whole-archive -Wl,--no-whole-archive"; do
		CFLAGS="${SAVE_CFLAGS} ${check}"

		AC_LINK_IFELSE(AC_LANG_PROGRAM([], []),
			[
				wholearchive="${check}"

				break







|







337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
AC_DEFUN(DC_CHECK_FOR_WHOLE_ARCHIVE, [
	AC_MSG_CHECKING([for how to link whole archive])

	SAVE_CFLAGS="${CFLAGS}"

	wholearchive=""

	for check in "-Wl,--whole-archive -Wl,--no-whole-archive" "-Wl,-z,allextract -Wl,-z,defaultextract"; do
		CFLAGS="${SAVE_CFLAGS} ${check}"

		AC_LINK_IFELSE(AC_LANG_PROGRAM([], []),
			[
				wholearchive="${check}"

				break