summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-09-04 17:42:23 +0200
committerPeter Wu <lekensteyn@gmail.com>2013-09-04 17:42:23 +0200
commit09219eb747cac0bc512359d3cda5f9520b0120ad (patch)
tree78b48f2865919151d89a35810636c054d47b9a81
parentc42bd6685c1292c68b6f33f033122d5b9919772a (diff)
downloadltunify-09219eb747cac0bc512359d3cda5f9520b0120ad.tar.gz
Revert "Makefile: make user append to CFLAGS instead of overwriting it"
This reverts commit 98f9432088604a9a9336d6b8458bd5e010832437. This was a lazy trick from me to allow adding `-fsanitize=address` easier, but apparantly not all users are so happy with it. Conflicts: Makefile
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9afbb54..9d16a38 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-override CFLAGS := -g -O2 -Wall -Wextra -D_FORTIFY_SOURCE=2 -fstack-protector --param ssp-buffer-size=4 $(CFLAGS)
+CFLAGS ?= -g -O2 -Wall -Wextra -D_FORTIFY_SOURCE=2 -fstack-protector --param ssp-buffer-size=4
# for install-home
BINDIR ?= $(HOME)/bin