summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-03 16:27:35 (GMT)
committerYann Collet <cyan@fb.com>2016-11-03 16:27:35 (GMT)
commitc66108ceb2b51f452511ecb38ad157e7d3d73269 (patch)
treea3cde74fb50de43f748ac2504ec372b51a081b85 /programs/Makefile
parent59adfd82d6c00c005a88ef5bdd405204d71d5729 (diff)
downloadlz4-c66108ceb2b51f452511ecb38ad157e7d3d73269.zip
lz4-c66108ceb2b51f452511ecb38ad157e7d3d73269.tar.gz
lz4-c66108ceb2b51f452511ecb38ad157e7d3d73269.tar.bz2
check fread() operation results (#243)
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 6214084..26857c8 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -41,7 +41,7 @@ MANDIR := $(PREFIX)/share/man/man1
LZ4DIR := ../lib
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
+CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith
CFLAGS += $(MOREFLAGS)
CPPFLAGS:= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ -DLZ4_DLL_EXPORT=1
FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)