mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-01 14:03:56 +08:00
c9ae340d17
* bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
9 lines
365 B
Makefile
9 lines
365 B
Makefile
# This option enables -fsanitize=address for stage2 and stage3.
|
|
|
|
STAGE2_CFLAGS += -fsanitize=address
|
|
STAGE3_CFLAGS += -fsanitize=address
|
|
POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs
|