diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2019-02-28 16:32:25 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2019-02-28 16:32:48 +0200 |
commit | 50e58bdd111ae4603c30314a656f57efa9d7f16c (patch) | |
tree | 54dc7259f39951b66987e63a2abd0da6dd2d3b80 /misc/radare2 | |
parent | 423913b854a638923706efa81492fecd82caeba7 (diff) |
radare2: refactor makefile
Diffstat (limited to 'misc/radare2')
-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) |