configure.ac (extra_ldflags_libjava): Enable -single_module only for darwin < 8.
authorAndreas Tobler <a.tobler@schweiz.ch>
Wed, 24 Aug 2005 05:54:22 +0000 (07:54 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 24 Aug 2005 05:54:22 +0000 (07:54 +0200)
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

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index ac42734710e1646528eff0744a9d48607b2fa7e2..1427245c11a1bbc70f838ff8777c03f310ccceef 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * configure.ac (extra_ldflags_libjava): Enable -single_module only for
+       darwin < 8.
+       * configure: Regenerate.
+
 2005-08-23  Roman Kennke  <roman@kennke.org>
 
        * java/lang/Character.java
index fddaacb5bd1c33b528b6bd774326b5720e44df8b..4ccabd75650eb6469f88ae83aac7096ffda97079 100755 (executable)
@@ -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
     ;;
index 2b39801e6d878527d1475bf79506deabb6806081..8eec0cb0c98ca6c19e2aeb61bff6e8b84f7f0f34 100644 (file)
@@ -670,7 +670,9 @@ libsubdir=.libs
 
 # extra LD Flags which are required for targets
 case "${host}" in
-  *-darwin*)
+*-*-darwin[0-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
     ;;