aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Howarth <howarth@bromo.med.uc.edu>2010-03-19 10:19:52 +0000
committerMike Stump <mrs@gcc.gnu.org>2010-03-19 10:19:52 +0000
commit0aeb3cc6c9df098de6fe0d0433f98e260696399e (patch)
tree11bfb7d9043e919e25257c261ef3d90f5fbff9cc
parent3e999e7b28c19cecd09979bcbcd98ff6b3abfebf (diff)
downloadgcc-0aeb3cc6c9df098de6fe0d0433f98e260696399e.zip
gcc-0aeb3cc6c9df098de6fe0d0433f98e260696399e.tar.gz
gcc-0aeb3cc6c9df098de6fe0d0433f98e260696399e.tar.bz2
re PR ada/42554 (Can't build GNAT tools)
PR ada/42554 * configure.ac: Only pass -c to ranlib for darwin9 and earlier. * configure: Regenerate. From-SVN: r157563
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
3 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 641a741..fb37e0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-03-19 Jack Howarth <howarth@bromo.med.uc.edu>
+
+ PR ada/42554
+ * configure.ac: Only pass -c to ranlib for darwin9 and earlier.
+ * configure: Regenerate.
+
2010-03-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* MAINTAINERS: Update my email address.
diff --git a/configure b/configure
index f321212..508d958 100755
--- a/configure
+++ b/configure
@@ -7292,8 +7292,8 @@ case "${target}" in
extra_arflags_for_target=" -X32_64"
extra_nmflags_for_target=" -B -X32_64"
;;
- *-*-darwin*)
- # ranlib from Darwin requires the -c flag to look at common symbols.
+ *-*-darwin[3-9]*)
+ # ranlib before Darwin10 requires the -c flag to look at common symbols.
extra_ranlibflags_for_target=" -c"
;;
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
diff --git a/configure.ac b/configure.ac
index 92f3a90..a5d75ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2405,8 +2405,8 @@ case "${target}" in
extra_arflags_for_target=" -X32_64"
extra_nmflags_for_target=" -B -X32_64"
;;
- *-*-darwin*)
- # ranlib from Darwin requires the -c flag to look at common symbols.
+ *-*-darwin[[3-9]]*)
+ # ranlib before Darwin10 requires the -c flag to look at common symbols.
extra_ranlibflags_for_target=" -c"
;;
mips*-*-pe | sh*-*-pe | *arm-wince-pe)