Commit b676727d authored by Christian Heimes's avatar Christian Heimes

Fix for fcc629208842

BSD's make doesn't support some of the features.
parents a99c7ded f84dcffc
...@@ -189,14 +189,6 @@ BUILDPYTHON= python$(BUILDEXE) ...@@ -189,14 +189,6 @@ BUILDPYTHON= python$(BUILDEXE)
PROFILE_TASK= $(srcdir)/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck PROFILE_TASK= $(srcdir)/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck
#PROFILE_TASK= $(srcdir)/Lib/test/regrtest.py #PROFILE_TASK= $(srcdir)/Lib/test/regrtest.py
# Find the silent flag in MAKEFLAGS. The flags are sorted and normalized
# by GNU make. The 's' flag is always in the first word.
ifneq (,$(findstring s,$(word 1,$(MAKEFLAGS))))
QUIET=-q
else
QUIET=
endif
# === Definitions added by makesetup === # === Definitions added by makesetup ===
...@@ -416,9 +408,15 @@ platform: $(BUILDPYTHON) ...@@ -416,9 +408,15 @@ platform: $(BUILDPYTHON)
# Build the shared modules # Build the shared modules
# MAKEFLAGS are sorted and normalized. Under GNU make the 's' for
# -s, --silent or --quiet is always the first char.
sharedmods: $(BUILDPYTHON) sharedmods: $(BUILDPYTHON)
@case "$$MAKEFLAGS" in \
s*) quiet="-q";; \
*) quiet="";; \
esac; \
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
./$(BUILDPYTHON) -E $(srcdir)/setup.py $(QUIET) build ./$(BUILDPYTHON) -E $(srcdir)/setup.py $$quiet build
# Build static library # Build static library
# avoid long command lines, same as LIBRARY_OBJS # avoid long command lines, same as LIBRARY_OBJS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment