summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-14 18:16:11 (GMT)
committerYann Collet <cyan@fb.com>2016-11-14 18:16:11 (GMT)
commit201149f8eb456c499014e772cdbd298045afbec3 (patch)
tree6f2190653c41b22aafbbceb688c2956cbbb45cf8 /tests/Makefile
parentfa158b4118f2d53f6e84ce6ce16aa8d3ccd8a11a (diff)
downloadlz4-201149f8eb456c499014e772cdbd298045afbec3.zip
lz4-201149f8eb456c499014e772cdbd298045afbec3.tar.gz
lz4-201149f8eb456c499014e772cdbd298045afbec3.tar.bz2
fixed conversion warnings
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index a0ddc7c..a11cf9b 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -43,7 +43,8 @@ PYTHON ?= python3
CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make
CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
- -Wdeclaration-after-statement -Wstrict-prototypes
+ -Wdeclaration-after-statement -Wstrict-prototypes \
+ -Wpointer-arith -Wstrict-aliasing=1
CFLAGS += $(MOREFLAGS)
CPPFLAGS:= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)