Roumen Petrov <bugtr...@roumenpetrov.info> added the comment:

It seems to that improvement for CFLAGS show bug  in python build system - 
quote for configure:
....
                BASECFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} 
${BASECFLAGS}"
                tgt=`sw_vers -productVersion | sed 's/\(10\.[[0-9]]*\).*/\1/'`
                if test "${UNIVERSALSDK}" != "/" -a "${tgt}" '>' '10.4' ; then
                        CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot 
${UNIVERSALSDK} ${CFLAGS}"
                        CPPFLAGS="-isysroot ${UNIVERSALSDK}"
                fi
....
No idea why the script set CFLAGS and CPPFLAGS under a specific condition - may 
be some test cases from configure will fail without those flags set.
Assignment to CPPFLAGS will ignore user settings - this is not acceptable.

Lets see report from Ned Deily: "might look like this" : the -isysroot is added 
twice .

----------
nosy: +rpetrov

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to