New submission from Antoine Pitrou <pit...@free.fr>:

One contains the include dirs for Python, not the other:

>>> distutils.sysconfig.get_config_var('PY_CFLAGS')
'-g -O0 -Wall -Wstrict-prototypes'
>>> distutils.sysconfig.get_config_var('PY_CPPFLAGS')
'-I. -IInclude -I./Include'

In Python 2.7 and 3.1, PY_CFLAGS did contain the include dirs, so this seems to 
be a regression:

>>> distutils.sysconfig.get_config_var('PY_CFLAGS')
'-g -O2 -g -Wall -Wstrict-prototypes -I. -IInclude -I./Include  -DPy_BUILD_CORE'

----------
assignee: tarek
components: Distutils
messages: 131354
nosy: eric.araujo, pitrou, tarek
priority: high
severity: normal
stage: needs patch
status: open
title: PY_CFLAGS and PY_CPPFLAGS inconsistent
type: behavior
versions: Python 3.2, Python 3.3

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

Reply via email to