aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.ac
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2005-08-24 07:54:22 +0200
committerAndreas Tobler <andreast@gcc.gnu.org>2005-08-24 07:54:22 +0200
commit7307936052bc73e87f5bb6ddeefcb6c2ed327094 (patch)
treed1f2bdaa2a5c1521cef43afa81c9cfd5e06be36a /libjava/configure.ac
parent2501b16706f1e920917035d6c63f6ed6b840a9df (diff)
downloadgcc-7307936052bc73e87f5bb6ddeefcb6c2ed327094.zip
gcc-7307936052bc73e87f5bb6ddeefcb6c2ed327094.tar.gz
gcc-7307936052bc73e87f5bb6ddeefcb6c2ed327094.tar.bz2
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
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r--libjava/configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac
index 2b39801e..8eec0cb 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
;;