configure.ac (extra_ldflags_libjava): Enable -single_module only for darwin < 8.

2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>

	* configure.ac (extra_ldflags_libjava): Enable -single_module only for
	darwin < 8.
	* configure: Regenerate.

From-SVN: r103430
This commit is contained in:
Andreas Tobler
2005-08-24 07:54:22 +02:00
committed by Andreas Tobler
parent 2501b16706
commit 7307936052
3 changed files with 12 additions and 2 deletions

4
libjava/configure vendored
View File

@@ -8377,7 +8377,9 @@ libsubdir=.libs
# extra LD Flags which are required for targets
case "${host}" in
*-darwin*)
*-*-darwin0-7.*)
# For now we have to disable it on darwin[8-9] because it slows down
# the linking phase. A possible bug in ld?
# on Darwin -single_module speeds up loading of the dynamic libraries.
extra_ldflags_libjava=-Wl,-single_module
;;