]> arthur.barton.de Git - bup.git/commitdiff
Makefile: add any environmental CFLAGS to the end of the effective CFLAGS.
authorRob Browning <rlb@defaultvalue.org>
Fri, 5 Jul 2013 17:06:16 +0000 (12:06 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 7 Jul 2013 18:26:39 +0000 (13:26 -0500)
For now, just do the simplest thing.

Thanks to Greg Troxel <gdt@ir.bbn.com> for reporting the issue.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Makefile

index b6a327fd69ac16a9b3e885bd7868c0761c03900a..216bf983311fc883eb43d14f7ef22d0012c4087f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 OS:=$(shell uname | sed 's/[-_].*//')
-CFLAGS:=-Wall -O2 -Werror $(PYINCLUDE)
+CFLAGS := -Wall -O2 -Werror $(PYINCLUDE) $(CFLAGS)
 SOEXT:=.so
 
 ifeq ($(OS),CYGWIN)