diff options
author | Marco d'Itri <md@linux.it> | 2018-01-08 02:50:53 +0100 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2018-01-08 02:50:53 +0100 |
commit | ac1d4125de3a3c183314eb82ccc21658e13d975f (patch) | |
tree | 59398e2e6c23fd4ff3c05946570aba9f9ddad208 | |
parent | 5d60bbe102b71c03b9a46eb0a7aada3532bd4481 (diff) | |
download | whois-ac1d4125de3a3c183314eb82ccc21658e13d975f.tar.gz |
Makefile: fix the afl invocation
DEFS must be set in the environment or else will override even DEFS+=...
statements in the Makefile.
-rw-r--r-- | Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -107,13 +107,8 @@ servers_charset.h: servers_charset_list make_servers_charset.pl ############################################################################## afl: - $(MAKE) whois \ - CC=afl-gcc AFL_HARDEN=1 \ - HAVE_ICONV=1 DEFS=-DAFL_MODE=1 - -afl2: - $(MAKE) whois \ - HAVE_ICONV=1 DEFS=-DAFL_MODE=1 + -rm -f Makefile.depend + DEFS=-DAFL_MODE=1 AFL_HARDEN=1 $(MAKE) whois CC=afl-gcc HAVE_ICONV=1 afl-run: nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois |