Message102854
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 . |
|
| Date |
User |
Action |
Args |
| 2010-04-11 17:08:24 | rpetrov | set | recipients:
+ rpetrov, ronaldoussoren, vstinner, ned.deily, l0nwlf |
| 2010-04-11 17:08:23 | rpetrov | set | messageid: <1271005703.65.0.390496463731.issue8366@psf.upfronthosting.co.za> |
| 2010-04-11 17:08:22 | rpetrov | link | issue8366 messages |
| 2010-04-11 17:08:21 | rpetrov | create | |
|