diff options
Diffstat (limited to 'examples/python2.7/patches/makeflags.diff')
-rw-r--r-- | examples/python2.7/patches/makeflags.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/python2.7/patches/makeflags.diff b/examples/python2.7/patches/makeflags.diff new file mode 100644 index 0000000..e85238e --- /dev/null +++ b/examples/python2.7/patches/makeflags.diff @@ -0,0 +1,24 @@ +Index: b/Makefile.pre.in +=================================================================== +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -406,11 +406,15 @@ + + + # 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) +- @case $$MAKEFLAGS in \ +- *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \ +- *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \ +- esac ++ @case "$$MAKEFLAGS" in \ ++ s*) quiet="-q";; \ ++ *) quiet="";; \ ++ esac; \ ++ $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ ++ ./$(BUILDPYTHON) -E $(srcdir)/setup.py $$quiet build + + # Build static library + # avoid long command lines, same as LIBRARY_OBJS |