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