mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
fuzz: make CC overridable from 'afl-gcc'
e.g. for debugging crashes
This commit is contained in:
parent
412c8d1902
commit
b795784832
@ -32,7 +32,7 @@
|
|||||||
all compile: lwip_fuzz lwip_fuzz2 lwip_fuzz3
|
all compile: lwip_fuzz lwip_fuzz2 lwip_fuzz3
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
|
||||||
CC=afl-gcc
|
CC?=afl-gcc
|
||||||
LDFLAGS=-lm
|
LDFLAGS=-lm
|
||||||
# use 'make D=-DUSER_DEFINE' to pass a user define to gcc
|
# use 'make D=-DUSER_DEFINE' to pass a user define to gcc
|
||||||
CFLAGS=-O0 $(D)
|
CFLAGS=-O0 $(D)
|
||||||
|
Loading…
Reference in New Issue
Block a user