Commit 8f7269f2 authored by Guido van Rossum's avatar Guido van Rossum

According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED

needed an adaptation for the latest gcc -- we need to grep stderr as
well as stdout for the magic string BFD.  (Does anybody know what BFD
means?)
parent 329c62e4
...@@ -565,7 +565,7 @@ then ...@@ -565,7 +565,7 @@ then
fi;; fi;;
SunOS/5*) case $CC in SunOS/5*) case $CC in
*gcc*) *gcc*)
if $CC -Xlinker -V 2>/dev/null | grep BFD >/dev/null if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
then then
LINKFORSHARED="-Xlinker --export-dynamic" LINKFORSHARED="-Xlinker --export-dynamic"
fi;; fi;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment