Revert recent change to ASAN module

This commit is contained in:
Justine Tunney 2022-05-23 13:30:16 -07:00
parent 312ed5c67c
commit e8632cfc30
2 changed files with 75 additions and 5 deletions

View file

@ -48,12 +48,9 @@ $(LIBC_INTRIN_A_OBJS): \
# we can't use asan and ubsan because:
# this is asan and ubsan
# we need -ffreestanding because:
# we don't want __builtin_memcpy() calling memcpy()
o/$(MODE)/libc/intrin/asan.o \
o/$(MODE)/libc/intrin/ubsan.o: \
OVERRIDE_CFLAGS += \
-ffreestanding \
-fno-sanitize=all \
-fno-stack-protector