This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Separate CFLAGS and CPPFLAGS
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: nascheme Nosy List: gvanrossum, nascheme, nobody, wsanchez
Priority: normal Keywords: patch

Created on 2001-04-09 20:33 by wsanchez, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
diffs.python wsanchez, 2001-04-09 20:33 CFLAGS patch
Messages (4)
msg36318 - (view) Author: Wilfredo Sanchez (wsanchez) Date: 2001-04-09 20:33
CFLAGS should not contain preprocessor directives, which 
is the role of CPPFLAGS.  By combining the two, it is 
not possible to override CFLAGS (eg. make CFLAGS="-arch 
i386 -arch ppc -O3 -pipe") without breaking the build.

This patch is against Python 2.1b2a.
msg36319 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-04-10 21:26
Logged In: YES 
user_id=6380

Newl, can you review this and maybe check this in?
msg36320 - (view) Author: Neil Schemenauer (nascheme) * (Python committer) Date: 2001-04-10 21:44
Logged In: YES 
user_id=35752

I agree with the change but I'm not comfortable checking
it in for 2.1 (even though the patch is quite simple).  It
will have to wait.
msg36321 - (view) Author: Nobody/Anonymous (nobody) Date: 2001-06-02 00:34
Logged In: NO 

Neil,  Can we get this checked in for 2.2?
History
Date User Action Args
2022-04-10 16:03:56adminsetgithub: 34302
2001-04-09 20:33:32wsanchezcreate