From: Rob Browning Date: Fri, 5 Jul 2013 17:06:16 +0000 (-0500) Subject: Makefile: add any environmental CFLAGS to the end of the effective CFLAGS. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bb67c85d3d7295c26c12d30b511ad4c92bda03cc;p=packages%2Fb%2Fbup.git Makefile: add any environmental CFLAGS to the end of the effective CFLAGS. For now, just do the simplest thing. Thanks to Greg Troxel for reporting the issue. Signed-off-by: Rob Browning --- diff --git a/Makefile b/Makefile index b6a327f..216bf98 100644 --- 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)