summaryrefslogtreecommitdiffstats
path: root/Tools/freeze
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-03-18 17:30:21 (GMT)
committerBrett Cannon <brett@python.org>2016-03-18 17:30:21 (GMT)
commit32cba67b9f727117ad56e70c5c799d9eae5498aa (patch)
tree6d5eb919cb8af308e1b1c9f8ebe0d77c2ba4b6f7 /Tools/freeze
parent9b46a5730268f6f22e13cd0a99adada2932f062b (diff)
parente4044bfe63a239cad9d4c51b02c256c2a160eb66 (diff)
downloadcpython-32cba67b9f727117ad56e70c5c799d9eae5498aa.zip
cpython-32cba67b9f727117ad56e70c5c799d9eae5498aa.tar.gz
cpython-32cba67b9f727117ad56e70c5c799d9eae5498aa.tar.bz2
Merge for issue #26271
Diffstat (limited to 'Tools/freeze')
-rw-r--r--Tools/freeze/makemakefile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/freeze/makemakefile.py b/Tools/freeze/makemakefile.py
index 32e804c..fa43faf 100644
--- a/Tools/freeze/makemakefile.py
+++ b/Tools/freeze/makemakefile.py
@@ -17,12 +17,12 @@ 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) $(CPPFLAGS) -c %s\n" % file)
+ outfp.write("\t$(CC) $(PY_CFLAGS) $(PY_CPPFLAGS) -c %s\n" % file)
files[i] = dest
deps.append(dest)
outfp.write("\n%s: %s\n" % (target, ' '.join(deps)))
- outfp.write("\t$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) %s -o %s $(LDLAST)\n" %
+ outfp.write("\t$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) %s -o %s $(LDLAST)\n" %
(' '.join(files), target))
outfp.write("\nclean:\n\t-rm -f *.o %s\n" % target)