diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2016-03-23 12:55:48 +0100 |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2016-03-23 12:55:48 +0100 |
commit | ed282af85f51d3758a36e1dfb2cd0a8aaeabd26b (patch) | |
tree | 6db9c5052ebf1ec4b5583957438da51628c7ef16 /Makefile.pre.in | |
parent | b7036114fe59de9fb72d1e5e21df25a8c884b2f6 (diff) | |
download | cpython-git-ed282af85f51d3758a36e1dfb2cd0a8aaeabd26b.tar.gz |
Makefile.pre.in:
- Modules/_math.o: Build using PY_CORE_CFLAGS as every extension
- profile-opt: Fix bashism
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index cf9bec3afc..5b04901060 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -431,7 +431,7 @@ build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks # 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 @@ pybuilddir.txt: $(BUILDPYTHON) # 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 |