diff options
author | vanhauser-thc <vh@thc.org> | 2023-05-17 19:21:41 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-05-17 19:21:41 +0200 |
commit | f664eb58c50ab9b6b130139613a35ff7a7297f1b (patch) | |
tree | 06822ab76d727d88af709a22b799d082c836b6df | |
parent | 3e3adb4d377dcfa1e878ab00f061a894923bd642 (diff) | |
download | afl++-f664eb58c50ab9b6b130139613a35ff7a7297f1b.tar.gz |
fix debug build
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index bfc2aa03..4ecdae52 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -139,13 +139,13 @@ endif ifdef DEBUG $(info Compiling DEBUG version of binaries) - override CFLAGS += -ggdb3 -O0 -Wall -Wextra -Werror $(CFLAGS_OPT) + override CFLAGS += -ggdb3 -O0 -Wall -Wextra -Werror -Wno-error=format-truncation= $(CFLAGS_OPT) else CFLAGS ?= -O2 $(CFLAGS_OPT) # -funroll-loops is slower on modern compilers endif override CFLAGS += -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith \ - -fPIC -I include/ -DAFL_PATH=\"$(HELPER_PATH)\" \ + -fPIC -I include/ -DAFL_PATH=\"$(HELPER_PATH)\" -Wno-format-truncation \ -DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\" # -fstack-protector |