diff options
author | Jesus Cea <jcea@jcea.es> | 2011-03-16 19:37:54 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2011-03-16 19:37:54 (GMT) |
commit | d3b7a55f543bf1c3ea6bcf10dd03b0919822f993 (patch) | |
tree | f8ddcfdc9557048f519c68a3c5520bfb25e16335 | |
parent | 0b8753d24b9a37834c23faa1da705f4ed222d928 (diff) | |
download | cpython-d3b7a55f543bf1c3ea6bcf10dd03b0919822f993.zip cpython-d3b7a55f543bf1c3ea6bcf10dd03b0919822f993.tar.gz cpython-d3b7a55f543bf1c3ea6bcf10dd03b0919822f993.tar.bz2 |
Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS
-rwxr-xr-x | configure | 7 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 6 insertions, 5 deletions
@@ -769,7 +769,8 @@ CFLAGS LDFLAGS LIBS CPPFLAGS -CPP' +CPP +CPPFLAGS' # Initialize some variables set by options. @@ -7551,8 +7552,8 @@ then IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";; SunOS/5*) if test "$GCC" = "yes" - then LDSHARED='$(CC) -shared' - else LDSHARED='$(CC) -G'; + then LDSHARED='$(CC) -shared $(LDFLAGS)' + else LDSHARED='$(CC) -G $(LDFLAGS)'; fi ;; hp*|HP*) if test "$GCC" = "yes" diff --git a/configure.in b/configure.in index 3c6bd6f..9b7a5a7 100644 --- a/configure.in +++ b/configure.in @@ -1758,8 +1758,8 @@ then IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";; SunOS/5*) if test "$GCC" = "yes" - then LDSHARED='$(CC) -shared' - else LDSHARED='$(CC) -G'; + then LDSHARED='$(CC) -shared $(LDFLAGS)' + else LDSHARED='$(CC) -G $(LDFLAGS)'; fi ;; hp*|HP*) if test "$GCC" = "yes" |