[Python-checkins] cpython (2.7): Makefile.pre.in:
matthias.klose
python-checkins at python.org
Wed Mar 23 07:55:54 EDT 2016
https://hg.python.org/cpython/rev/06d3687aa6d2
changeset: 100686:06d3687aa6d2
branch: 2.7
parent: 100650:1c0b29441116
user: doko at ubuntu.com
date: Wed Mar 23 12:55:48 2016 +0100
summary:
Makefile.pre.in:
- Modules/_math.o: Build using PY_CORE_CFLAGS as every extension
- profile-opt: Fix bashism
files:
Makefile.pre.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -431,7 +431,7 @@
# Compile a binary with profile guided optimization.
profile-opt:
- @if [ $(LLVM_PROF_ERR) == yes ]; then \
+ @if [ $(LLVM_PROF_ERR) = yes ]; then \
echo "Error: Cannot perform PGO build because llvm-profdata was not found in PATH" ;\
echo "Please add it to PATH and run ./configure again" ;\
exit 1;\
@@ -530,7 +530,7 @@
# This is shared by the math and cmath modules
Modules/_math.o: Modules/_math.c Modules/_math.h
- $(CC) -c $(CCSHARED) $(PY_CFLAGS) -o $@ $<
+ $(CC) -c $(CCSHARED) $(PY_CORE_CFLAGS) -o $@ $<
# Build the shared modules
# Under GNU make, MAKEFLAGS are sorted and normalized; the 's' for
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list