about summary refs log tree commit diff
path: root/gcc_plugin
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-03-28 10:00:23 +0100
committerDominik Maier <domenukk@gmail.com>2020-04-01 13:10:06 +0200
commit0732e66da92d0c7c84d86fcd8fcec05bf70c4be1 (patch)
treeb5ef1deed2640b09273cb045c3c76c01ff205301 /gcc_plugin
parente56e2f4c1854a630fe9721be1366c52e49d1bc53 (diff)
downloadafl++-0732e66da92d0c7c84d86fcd8fcec05bf70c4be1.tar.gz
gcc_plugin: fix compiler warnings regarding -O and FORTIFY_SOURCE
Diffstat (limited to 'gcc_plugin')
-rw-r--r--gcc_plugin/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc_plugin/Makefile b/gcc_plugin/Makefile
index df8bd9cb..4c7a0313 100644
--- a/gcc_plugin/Makefile
+++ b/gcc_plugin/Makefile
@@ -28,14 +28,14 @@ MAN_PATH    ?= $(PREFIX)/man/man8
 
 VERSION     = $(shell grep '^$(HASH)define VERSION ' ../config.h | cut -d '"' -f2)
 
-CFLAGS      ?= -O3 -g -funroll-loops
-override CFLAGS = -Wall -I../include -D_FORTIFY_SOURCE=2 -Wno-pointer-sign \
+CFLAGS      ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2
+override CFLAGS = -Wall -I../include -Wno-pointer-sign \
                -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \
                -DGCC_VERSION=\"$(GCCVER)\" -DGCC_BINDIR=\"$(GCCBINDIR)\" \
                -Wno-unused-function
 
-CXXFLAGS    ?= -O3 -g -funroll-loops
-CXXEFLAGS   := $(CXXFLAGS) -Wall -D_FORTIFY_SOURCE=2
+CXXFLAGS    ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2
+CXXEFLAGS   := $(CXXFLAGS) -Wall
 
 CC          ?= gcc
 CXX         ?= g++