fuzz: make CC overridable from 'afl-gcc'

e.g. for debugging crashes
This commit is contained in:
Simon Goldschmidt 2020-03-09 21:40:30 +01:00
parent 412c8d1902
commit b795784832

View File

@ -32,7 +32,7 @@
all compile: lwip_fuzz lwip_fuzz2 lwip_fuzz3
.PHONY: all clean
CC=afl-gcc
CC?=afl-gcc
LDFLAGS=-lm
# use 'make D=-DUSER_DEFINE' to pass a user define to gcc
CFLAGS=-O0 $(D)