diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-28 19:09:13 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-28 19:09:13 +0100 |
commit | e83426a79be11378cdef89a2a96a434cf8fc305e (patch) | |
tree | 0f12d55e03550e0f706b76ff62ef16a71d565de9 | |
parent | fdac887660d776c725c148bf144548f9d1b7f1e6 (diff) | |
download | afl++-e83426a79be11378cdef89a2a96a434cf8fc305e.tar.gz |
fix make DEBUG=1
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index f17a6253..521ab683 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -85,7 +85,9 @@ ifneq "$(shell uname)" "Darwin" endif endif # OS X does not like _FORTIFY_SOURCE=2 - CFLAGS_OPT += -D_FORTIFY_SOURCE=2 + ifndef DEBUG + CFLAGS_OPT += -D_FORTIFY_SOURCE=2 + endif endif ifeq "$(shell uname)" "SunOS" @@ -232,7 +234,9 @@ else endif ifneq "$(filter Linux GNU%,$(shell uname))" "" + ifndef DEBUG override CFLAGS += -D_FORTIFY_SOURCE=2 + endif LDFLAGS += -ldl -lrt -lm endif |