summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-22 06:46:41 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-22 06:46:41 +0000
commitb437616a3285d0224c38dbdbf83ff4c4fcc88e20 (patch)
tree1361e8cea98abab9e0a1a3a3aa529933797f0a4e /configure.in
parent24d6a3e75ae68d1323f2c6cc943aef3e2ed3f404 (diff)
downloadgcc-b437616a3285d0224c38dbdbf83ff4c4fcc88e20.tar.gz
* configure.in (extra_ranlibflags_for_target): New variable.
(*-*-darwin): Add -c to ranlib commands. * configure (tooldir): Handle extra_ranlibflags_for_target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60397 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 82cca6c2383..15347aabdb9 100644
--- a/configure.in
+++ b/configure.in
@@ -1146,6 +1146,7 @@ fi
extra_arflags_for_target=
extra_nmflags_for_target=
+extra_ranlibflags_for_target=
case "${target}" in
i[3456]86-*-netware*)
target_makefile_frag="config/mt-netware"
@@ -1163,6 +1164,10 @@ 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.
+ extra_ranlibflags_for_target=" -c"
+ ;;
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
target_makefile_frag="config/mt-wince"
;;