summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-07-05 12:33:57 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-07-05 12:33:57 (GMT)
commite002818cf6aba7e2f56a08b8d9306b026f90ec4e (patch)
treeaebdeb30b31cc3c90674a26e3c019248dbf86064 /Makefile
parent070b33518a69c3f7905b0c5cd2fa9ffb50273848 (diff)
downloadlz4-e002818cf6aba7e2f56a08b8d9306b026f90ec4e.zip
lz4-e002818cf6aba7e2f56a08b8d9306b026f90ec4e.tar.gz
lz4-e002818cf6aba7e2f56a08b8d9306b026f90ec4e.tar.bz2
Modified : Makefile : added -Wshadow option, suggest by Boris Faure
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b8c259c..9b8dbe6 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH)
DESTDIR=
PREFIX = /usr
CC := $(CC)
-CFLAGS+= -I. -std=c99 -O3 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\"
+CFLAGS+= -I. -std=c99 -O3 -Wall -Wextra -Wundef -Wshadow -DLZ4_VERSION=\"$(RELEASE)\"
LIBDIR?= $(PREFIX)/lib
INCLUDEDIR=$(PREFIX)/include