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:
Jesus Cea 2011-03-16 20:37:54 +01:00
parent 0b8753d24b
commit d3b7a55f54
2 changed files with 6 additions and 5 deletions

7
configure vendored
View File

@ -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"

View File

@ -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"