summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-04 00:31:41 (GMT)
committerYann Collet <cyan@fb.com>2016-11-04 00:31:41 (GMT)
commit4791cda04af2fdf19f1a1ea7c2d1187ad82cc547 (patch)
treedb58dcc61e03cf6780d59588e77ac69685b4e568 /lib/Makefile
parent258a5e7fa44825488fe4683f3a04c36fc944a23f (diff)
downloadlz4-4791cda04af2fdf19f1a1ea7c2d1187ad82cc547.zip
lz4-4791cda04af2fdf19f1a1ea7c2d1187ad82cc547.tar.gz
lz4-4791cda04af2fdf19f1a1ea7c2d1187ad82cc547.tar.bz2
fixed strict warnings
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index f7d7f72..8b2cbff 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -46,9 +46,9 @@ DESTDIR?=
PREFIX ?= /usr/local
CPPFLAGS= -DXXH_NAMESPACE=LZ4_ -DLZ4_DLL_EXPORT=1
CFLAGS ?= -O3
-CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 \
+CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
-Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef \
- -Wpointer-arith
+ -Wpointer-arith # -Wstrict-aliasing=1
FLAGS = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
LIBDIR?= $(PREFIX)/lib