File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 19
19
# ##############################################################################
20
20
21
21
if (CONFIG_TESTING_KASAN)
22
- set (CFLAGS -Wno-error -Wno-use-after-free -Wno-array-bounds
23
- -Wno-free-nonheap-object -Wno-stringop-overflow "-O0" )
22
+ set (CFLAGS
23
+ -Wno-error
24
+ -Wno-use-after-free
25
+ -Wno-array-bounds
26
+ -Wno-unused-value
27
+ -Wno-unused-variable
28
+ -Wno-free-nonheap-object
29
+ -Wno-stringop-overflow
30
+ "-O0" )
24
31
nuttx_add_application(NAME kasantest COMPILE_FLAGS ${CFLAGS} SRCS kasantest.c)
25
32
endif ()
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ PROGNAME = kasantest
27
27
PRIORITY = $(CONFIG_TESTING_KASAN_PRIORITY )
28
28
STACKSIZE = $(CONFIG_TESTING_KASAN_STACKSIZE )
29
29
30
- CFLAGS += -Wno-error -Wno-use-after-free
30
+ CFLAGS += -Wno-error -Wno-use-after-free -Wno-stringop-overflow
31
31
CFLAGS += -Wno-array-bounds -Wno-free-nonheap-object
32
- CFLAGS += -Wno-stringop-overflow
32
+ CFLAGS += -Wno-unused-value -Wno-unused-variable
33
33
CFLAGS += "-O0"
34
34
35
35
include $(APPDIR ) /Application.mk
You can’t perform that action at this time.
0 commit comments