Simplify building with ASan
[WebKit-https.git] / Tools / asan / asan.xcconfig
1 TOOLCHAINS[sdk=iphone*] = $(TOOLCHAINS);
2 TOOLCHAINS = $(TOOLCHAINS_$(PLATFORM_NAME)_$(MAC_OS_X_VERSION_MAJOR));
3 TOOLCHAINS_macosx_1080 = default;
4 TOOLCHAINS_macosx_1090 = default;
5 TOOLCHAINS_macosx_101000 = default;
6 TOOLCHAINS_macosx_101100 = $(TOOLCHAINS);
7
8 ASAN_OTHER_CFLAGS = -fsanitize=address -O1 -fsanitize-blacklist=$(ASAN_IGNORE) -fno-omit-frame-pointer -g -DUSE_SYSTEM_MALLOC=1;
9 ASAN_OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CFLAGS);
10 ASAN_OTHER_LDFLAGS = -fsanitize=address;
11
12 GCC_ENABLE_OBJC_GC = NO;