aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2020-10-23 22:49:20 +0200
committervanhauser-thc <vh@thc.org>2020-10-23 22:49:20 +0200
commit2e8ec1e33943c5067637361a8c182d13412a307c (patch)
tree1a6922223d2eec0362c8d38a496e84e50fe1a4df /GNUmakefile
parentaa0d3785206d52c1815aff850817d55bf50f3598 (diff)
downloadAFLplusplus-2e8ec1e33943c5067637361a8c182d13412a307c.tar.gz
allow symbolize=1 for asan/debug
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 80b7b68b..c576ae67 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -247,7 +247,7 @@ ifeq "$(shell command -v svn >/dev/null && svn proplist . 2>/dev/null && echo 1
endif
ifeq "$(shell echo 'int main() { return 0;}' | $(CC) $(CFLAGS) -fsanitize=address -x c - -o .test2 2>/dev/null && echo 1 || echo 0 ; rm -f .test2 )" "1"
- ASAN_CFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer
+ ASAN_CFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer -DASAN_BUILD
ASAN_LDFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer
endif