Fix build/test breakage caused by last commit

This commit is contained in:
Justine Tunney 2020-10-06 12:13:15 -07:00
parent c45e46f871
commit 680daf1210
7 changed files with 14 additions and 11 deletions

View file

@ -26,6 +26,8 @@ TEST_LIBC_FMT_DIRECTDEPS = \
LIBC_MEM \
LIBC_NEXGEN32E \
LIBC_RUNTIME \
LIBC_LOG \
LIBC_LOG_ASAN \
LIBC_STDIO \
LIBC_STR \
LIBC_STUBS \

View file

@ -35,6 +35,7 @@ TEST_LIBC_RUNTIME_DIRECTDEPS = \
LIBC_RUNTIME \
LIBC_STDIO \
LIBC_LOG \
LIBC_LOG_ASAN \
LIBC_STR \
LIBC_STUBS \
LIBC_SYSV \
@ -62,6 +63,12 @@ $(TEST_LIBC_RUNTIME_OBJS): \
DEFAULT_CCFLAGS += \
-fno-builtin
ifeq (,$(MODE))
$(TEST_LIBC_RUNTIME_OBJS): \
OVERRIDE_CFLAGS += \
-fsanitize=address
endif
o/$(MODE)/test/libc/runtime/getenv_test.com.runs: \
o/$(MODE)/test/libc/runtime/getenv_test.com
@HELLO=THERE build/runit $@ $<