summaryrefslogtreecommitdiff
path: root/test/fuzz/make.mk
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-02-22 12:54:32 +0700
committerGitHub <[email protected]>2023-02-22 12:54:32 +0700
commit557bf82336311611ba3b06e57f48d03362f3d2c3 (patch)
tree97bbedf9ff81a90bd8a85ab33abcc2543bd5df33 /test/fuzz/make.mk
parent334263523756bf6539546bd11915299704034a39 (diff)
parentbcf5e5f72918a7f5ee991f8d1cc3d4f9a3b2b306 (diff)
Merge pull request #1867 from silvergasp/thread_local_globals
fix: Change all static variables to thread when fuzzing
Diffstat (limited to 'test/fuzz/make.mk')
-rw-r--r--test/fuzz/make.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fuzz/make.mk b/test/fuzz/make.mk
index 6717ebc80..e7c5518e7 100644
--- a/test/fuzz/make.mk
+++ b/test/fuzz/make.mk
@@ -78,7 +78,8 @@ CFLAGS += \
CFLAGS += \
-Wno-error=unreachable-code \
-DOPT_MCU_FUZZ=1 \
- -DCFG_TUSB_MCU=OPT_MCU_FUZZ
+ -DCFG_TUSB_MCU=OPT_MCU_FUZZ \
+ -D_FUZZ
CXXFLAGS += \
-xc++ \