Test for --export-dynamic directly to avoid problems with binutils 2.12.

Will backport to 2.1 and 2.2.
This commit is contained in:
Martin v. Löwis 2002-04-18 14:51:36 +00:00
parent 5379dea2a7
commit a454857633
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.310 . # From configure.in Revision: 1.311 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53. # Generated by GNU Autoconf 2.53.
# #
@ -8849,7 +8849,7 @@ then
fi;; fi;;
SunOS/5*) case $CC in SunOS/5*) case $CC in
*gcc*) *gcc*)
if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
then then
LINKFORSHARED="-Xlinker --export-dynamic" LINKFORSHARED="-Xlinker --export-dynamic"
fi;; fi;;

View File

@ -984,7 +984,7 @@ then
fi;; fi;;
SunOS/5*) case $CC in SunOS/5*) case $CC in
*gcc*) *gcc*)
if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
then then
LINKFORSHARED="-Xlinker --export-dynamic" LINKFORSHARED="-Xlinker --export-dynamic"
fi;; fi;;