Default ASAN=1 when "make tests" builds a toybox binary.
Use "make clean tests ASAN=" to test without ASAN. (Or just build toybox first so the build prerequisite doesn't trigger.)
This commit is contained in:
parent
7c30d04e67
commit
b564a6028b
3
Makefile
3
Makefile
@ -7,7 +7,7 @@
|
||||
|
||||
HOSTCC?=cc
|
||||
|
||||
export CROSS_COMPILE CFLAGS OPTIMIZE LDOPTIMIZE CC HOSTCC V STRIP
|
||||
export CROSS_COMPILE CFLAGS OPTIMIZE LDOPTIMIZE CC HOSTCC V STRIP ASAN
|
||||
|
||||
all: toybox
|
||||
|
||||
@ -73,6 +73,7 @@ distclean: clean root_clean
|
||||
@rm -f toybox* .config* .singlemake
|
||||
@echo removed .config
|
||||
|
||||
tests: ASAN=1
|
||||
tests: toybox
|
||||
scripts/test.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user