Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS
This commit is contained in:
parent
0b8753d24b
commit
d3b7a55f54
7
configure
vendored
7
configure
vendored
@ -769,7 +769,8 @@ CFLAGS
|
|||||||
LDFLAGS
|
LDFLAGS
|
||||||
LIBS
|
LIBS
|
||||||
CPPFLAGS
|
CPPFLAGS
|
||||||
CPP'
|
CPP
|
||||||
|
CPPFLAGS'
|
||||||
|
|
||||||
|
|
||||||
# Initialize some variables set by options.
|
# Initialize some variables set by options.
|
||||||
@ -7551,8 +7552,8 @@ then
|
|||||||
IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
|
IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
|
||||||
SunOS/5*)
|
SunOS/5*)
|
||||||
if test "$GCC" = "yes"
|
if test "$GCC" = "yes"
|
||||||
then LDSHARED='$(CC) -shared'
|
then LDSHARED='$(CC) -shared $(LDFLAGS)'
|
||||||
else LDSHARED='$(CC) -G';
|
else LDSHARED='$(CC) -G $(LDFLAGS)';
|
||||||
fi ;;
|
fi ;;
|
||||||
hp*|HP*)
|
hp*|HP*)
|
||||||
if test "$GCC" = "yes"
|
if test "$GCC" = "yes"
|
||||||
|
@ -1758,8 +1758,8 @@ then
|
|||||||
IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
|
IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
|
||||||
SunOS/5*)
|
SunOS/5*)
|
||||||
if test "$GCC" = "yes"
|
if test "$GCC" = "yes"
|
||||||
then LDSHARED='$(CC) -shared'
|
then LDSHARED='$(CC) -shared $(LDFLAGS)'
|
||||||
else LDSHARED='$(CC) -G';
|
else LDSHARED='$(CC) -G $(LDFLAGS)';
|
||||||
fi ;;
|
fi ;;
|
||||||
hp*|HP*)
|
hp*|HP*)
|
||||||
if test "$GCC" = "yes"
|
if test "$GCC" = "yes"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user