diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-06-02 06:16:02 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-06-02 06:16:02 (GMT) |
commit | 89e90d67aa73163b368f0dc42ed78310bda00ac5 (patch) | |
tree | bb7ad7331037051274914dabd6d4231ff396f8f2 /Tools/freeze/makemakefile.py | |
parent | f4b33f61fb83f54d3086ef28c34e71a18ade2b9d (diff) | |
download | cpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.zip cpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.tar.gz cpython-89e90d67aa73163b368f0dc42ed78310bda00ac5.tar.bz2 |
Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor
directives, which is the role of CPPFLAGS. Closes SF patch #414991.
Diffstat (limited to 'Tools/freeze/makemakefile.py')
-rw-r--r-- | Tools/freeze/makemakefile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/freeze/makemakefile.py b/Tools/freeze/makemakefile.py index 4d9913e..b1bad2b 100644 --- a/Tools/freeze/makemakefile.py +++ b/Tools/freeze/makemakefile.py @@ -19,7 +19,7 @@ def makemakefile(outfp, makevars, files, target): base = os.path.basename(file) dest = base[:-2] + '.o' outfp.write("%s: %s\n" % (dest, file)) - outfp.write("\t$(CC) $(CFLAGS) -c %s\n" % file) + outfp.write("\t$(CC) $(CFLAGS) $(CPPFLAGS) -c %s\n" % file) files[i] = dest deps.append(dest) |