Add bootstrap-asan.mk

* bootstrap-asan.mk: New file.
This commit is contained in:
H.J. Lu 2012-12-12 13:45:37 +00:00
parent a5149a541a
commit 3061d0eed5
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
* bootstrap-asan.mk: New file.
2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
* dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.

6
config/bootstrap-asan.mk Normal file
View File

@ -0,0 +1,6 @@
# 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/asan/.libs