Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c6ba9b

Browse files
committed
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?)
1 parent 43265be commit 9c6ba9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ then
565565
fi;;
566566
SunOS/5*) case $CC in
567567
*gcc*)
568-
if $CC -Xlinker -V 2>/dev/null | grep BFD >/dev/null
568+
if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
569569
then
570570
LINKFORSHARED="-Xlinker --export-dynamic"
571571
fi;;

0 commit comments

Comments
 (0)