aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rules
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-06-07 20:57:02 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2019-06-11 03:34:19 (GMT)
commitd438b4a3cebcceb443747346c8ad91666a1ef325 (patch)
tree41b481ed5579821d9d2f02fa44f5fcfe6692bfbb /src/lib.rules
parent009c4d79d3b2786ea08d6528664d9c43be879621 (diff)
downloadhostap-d438b4a3cebcceb443747346c8ad91666a1ef325.zip
hostap-d438b4a3cebcceb443747346c8ad91666a1ef325.tar.gz
hostap-d438b4a3cebcceb443747346c8ad91666a1ef325.tar.bz2
tests: Fix CFLAGS passing for new fuzzing tools
src/*/Makefile needs to allow additional CFLAGS values to be provided from the calling Makefiles so that the clang command line arguments to enable sanitizers consistently. In addition, it can be useful to be able to provide CC, CFLAGS, and LDFLAGS from external setup while still requesing LIBFUZZER=y build. Allow that by not overriding these variables if they are already set. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/lib.rules')
-rw-r--r--src/lib.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rules b/src/lib.rules
index 4ec4711..a463154 100644
--- a/src/lib.rules
+++ b/src/lib.rules
@@ -11,6 +11,7 @@ CFLAGS += -DCONFIG_NO_RANDOM_POOL
CFLAGS += -DTEST_FUZZ
endif
+CFLAGS += $(FUZZ_CFLAGS)
CFLAGS += -I.. -I../utils