summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-22 19:52:43 (GMT)
committerYann Collet <cyan@fb.com>2016-11-22 19:52:43 (GMT)
commitf4c74e6fac82d090d4511dc2d83b09725ff5e639 (patch)
tree4e8fb50f503c1fb130cb0034189ad64e54e6d6ca /programs/Makefile
parentedc132b69f0f653029e79ecdbf0a5335ea4ed0ea (diff)
downloadlz4-f4c74e6fac82d090d4511dc2d83b09725ff5e639.zip
lz4-f4c74e6fac82d090d4511dc2d83b09725ff5e639.tar.gz
lz4-f4c74e6fac82d090d4511dc2d83b09725ff5e639.tar.bz2
library release build compatible with environment variable
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/Makefile b/programs/Makefile
index caef394..504416f 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -36,7 +36,7 @@ VOID := /dev/null
CPPFLAGS+= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
CFLAGS ?= -O3
-DEBUGFLAGS=-g -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
+DEBUGFLAGS:=-g -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
-Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
-Wpointer-arith -Wstrict-aliasing=1
CFLAGS += $(MOREFLAGS)