diff options
author | Graham.Dumpleton <devnull@localhost> | 2009-11-01 10:26:24 +0000 |
---|---|---|
committer | Graham.Dumpleton <devnull@localhost> | 2009-11-01 10:26:24 +0000 |
commit | 7b7cded9cfabb14b5d2617387b3cd6362b93208f (patch) | |
tree | a229853049c874fd70882a83b0538e944a4ea4d5 /configure.ac | |
parent | 78d71a0f489eb323cdbd3d1f020a2fd61d25af0e (diff) | |
download | mod_wsgi-7b7cded9cfabb14b5d2617387b3cd6362b93208f.tar.gz |
Don't ignore CFLAGS defined in environment of configure script.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9f40d9e..fa31459 100644 --- a/configure.ac +++ b/configure.ac @@ -140,16 +140,17 @@ else stdout.write(sysconfig.get_config_var("LIBS"))'` fi -CFLAGS="" +CFLAGS1="" if test -x /usr/bin/lipo; then LDFLAGS3="" ARCHITECTURES=`/usr/bin/lipo -info $HTTPD | sed -e 's/.*://'` for ARCH in $ARCHITECTURES; do - CFLAGS="${CFLAGS} -Wc,'-arch ${ARCH}'" + CFLAGS1="${CFLAGS1} -Wc,'-arch ${ARCH}'" LDFLAGS3="${LDFLAGS3} -arch ${ARCH}" done fi +CFLAGS="${CFLAGS} ${CFLAGS1}" LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS2} ${LDFLAGS3}" LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2} ${LDLIBS3}" |