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

Skip to content

Commit ff48418

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 9c6ba9b commit ff48418

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22

3-
# From configure.in Revision: 1.114
3+
# From configure.in Revision: 1.115
44

55
# Guess values for system-dependent variables and create Makefiles.
66
# Generated automatically using autoconf version 2.13
@@ -2355,7 +2355,7 @@ then
23552355
fi;;
23562356
SunOS/5*) case $CC in
23572357
*gcc*)
2358-
if $CC -Xlinker -V 2>/dev/null | grep BFD >/dev/null
2358+
if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
23592359
then
23602360
LINKFORSHARED="-Xlinker --export-dynamic"
23612361
fi;;

0 commit comments

Comments
 (0)