summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-04-25 12:24:52 +0200
committerPeter Wu <lekensteyn@gmail.com>2013-04-25 12:24:52 +0200
commit98f9432088604a9a9336d6b8458bd5e010832437 (patch)
treeb354a59386bfdaeba58dd7b67f4d77a3540a7425
parentf600f9ea3f445e928b2942afb9eddbc61ae5b524 (diff)
downloadltunify-98f9432088604a9a9336d6b8458bd5e010832437.tar.gz
Makefile: make user append to CFLAGS instead of overwriting it
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2a3804b..5abcd6e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS ?= -g -O2 -Wall -Wextra -D_FORTIFY_SOURCE=2 -fstack-protector --param ssp-buffer-size=4
+override CFLAGS := -g -O2 -Wall -Wextra -D_FORTIFY_SOURCE=2 -fstack-protector --param ssp-buffer-size=4 $(CFLAGS)
BINDIR ?= $(HOME)
%: %.c