mirror of
https://github.com/python/cpython.git
synced 2025-11-11 22:55:08 +00:00
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?)
This commit is contained in:
parent
9c6ba9b598
commit
ff484183de
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# From configure.in Revision: 1.114
|
# From configure.in Revision: 1.115
|
||||||
|
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated automatically using autoconf version 2.13
|
# Generated automatically using autoconf version 2.13
|
||||||
|
|
@ -2355,7 +2355,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;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue