summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-24 05:54:22 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-24 05:54:22 +0000
commit29049716afd0fa4a560c538ae1da85b5f688d6c9 (patch)
treed1f2bdaa2a5c1521cef43afa81c9cfd5e06be36a /libjava
parenta4a61c102b61fae7ae60090427948a3f1a714645 (diff)
downloadgcc-29049716afd0fa4a560c538ae1da85b5f688d6c9.tar.gz
2005-08-24 Andreas Tobler <a.tobler@schweiz.ch>
* configure.ac (extra_ldflags_libjava): Enable -single_module only for darwin < 8. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103430 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rwxr-xr-xlibjava/configure4
-rw-r--r--libjava/configure.ac4
3 files changed, 12 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index ac42734710e..1427245c11a 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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
diff --git a/libjava/configure b/libjava/configure
index fddaacb5bd1..4ccabd75650 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -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
;;
diff --git a/libjava/configure.ac b/libjava/configure.ac
index 2b39801e6d8..8eec0cb0c98 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -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
;;