aboutsummaryrefslogtreecommitdiff
path: root/examples/python2.7/patches/makeflags.diff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-04-17 14:08:01 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-04-17 14:08:01 +0400
commit207cd347945b53a1034d0ed8ad35037cf497e471 (patch)
tree455f399a5c405141b9c2fe500bcf9be05534d304 /examples/python2.7/patches/makeflags.diff
parent62c2114fcab6cf9826089109633117494ace630e (diff)
downloadcibs-207cd347945b53a1034d0ed8ad35037cf497e471.tar.gz
Examples: vim & python
Diffstat (limited to 'examples/python2.7/patches/makeflags.diff')
-rw-r--r--examples/python2.7/patches/makeflags.diff24
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