summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/radare2/GNUmakefile (renamed from misc/radare2/Makefile)6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/radare2/Makefile b/misc/radare2/GNUmakefile
index b8fcdd2..ef9e809 100644
--- a/misc/radare2/Makefile
+++ b/misc/radare2/GNUmakefile
@@ -1,12 +1,12 @@
MAKEFLAGS += --no-builtin-rules
R2_PLUGIN_PATH ?= $(shell r2 -H R2_USER_PLUGINS)
-# GCC 7: -Wstringop-overflow=, -Walloc-size-larger-than=, -Wduplicated-{branches,cond}
WARNINGS := -Wall -Wextra -Wformat=2 -Wstrict-aliasing=3 -Wstrict-overflow=5 -Wstack-usage=12500 \
-Wfloat-equal -Wcast-align -Wpointer-arith -Wchar-subscripts -Warray-bounds=2
-override CFLAGS ?= -g
-override CFLAGS += -std=c11 $(WARNINGS)
+override CFLAGS ?= -g -O2 $(WARNINGS)
+override CFLAGS += -std=c11
+override CPPFLAGS ?= -D_FORTIFY_SOURCE=2
libs = asm_fspec.so anal_fspec.so
all: $(libs)