about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-08-10 19:04:51 +0200
committerDominik Maier <domenukk@gmail.com>2020-08-10 19:04:51 +0200
commita422fcaa40a3c7cd577b693060d9bc2e6c36cf73 (patch)
tree6f1bdb94de40408d654c93a5e7e5b5d0c37b9473 /GNUmakefile
parentfb84103ffb364b7f2b8a4c51f6465948608968b5 (diff)
downloadafl++-a422fcaa40a3c7cd577b693060d9bc2e6c36cf73.tar.gz
fixed minor inconsistencies, reenabled warnings
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 86ae24b6..fe5f8c03 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -98,7 +98,7 @@ ifneq "$(shell uname -m)" "x86_64"
 endif
 
 CFLAGS     ?= -O3 -funroll-loops $(CFLAGS_OPT)
-override CFLAGS += -g -Wno-pointer-sign \
+override CFLAGS += -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith \
 			  -I include/ -DAFL_PATH=\"$(HELPER_PATH)\" \
 			  -DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\"
 
@@ -198,6 +198,7 @@ else
 endif
 
 ifneq "$(filter Linux GNU%,$(shell uname))" ""
+  override CFLAGS += -D_FORTIFY_SOURCE=2
   LDFLAGS += -ldl -lrt
 endif