summaryrefslogtreecommitdiff
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2017-06-13 14:45:48 -0700
committerYann Collet <cyan@fb.com>2017-06-13 14:45:48 -0700
commita6fd0f9d0ba4dd3db5ffd221a6b3384296a8deed (patch)
tree4205d982bd918da70e29e8a1d9875b6b6b0e19bc /programs/Makefile
parentbfc18066053a26b5acc9eb286bfe6b2a87b14318 (diff)
downloadlz4-a6fd0f9d0ba4dd3db5ffd221a6b3384296a8deed.tar.gz
lz4-a6fd0f9d0ba4dd3db5ffd221a6b3384296a8deed.tar.bz2
lz4-a6fd0f9d0ba4dd3db5ffd221a6b3384296a8deed.zip
-g compilation flag not by default for lz4 cli
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 2e73780..8cf7d59 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -48,7 +48,7 @@ VOID := /dev/null
CPPFLAGS+= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
CFLAGS ?= -O3
-DEBUGFLAGS:=-g -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
+DEBUGFLAGS:=-Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
-Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
-Wpointer-arith -Wstrict-aliasing=1
CFLAGS += $(DEBUGFLAGS) $(MOREFLAGS)