diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-16 08:34:23 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-03-16 08:34:23 -0700 |
commit | 8869a24691490e5cb47045c1d732a27ea8408a2e (patch) | |
tree | 4c5838d1b2a5144a711a6153a15b77a240de793b /config/bootstrap-asan.mk | |
parent | Remove cloog.m4 (diff) | |
download | binutils-gdb-8869a24691490e5cb47045c1d732a27ea8408a2e.tar.gz binutils-gdb-8869a24691490e5cb47045c1d732a27ea8408a2e.tar.bz2 binutils-gdb-8869a24691490e5cb47045c1d732a27ea8408a2e.zip |
Sync bootstrap-asan.mk/bootstrap-lto.mk with GCC tree
* bootstrap-asan.mk: Sync with GCC tree.
* bootstrap-lto.mk: Likewise.
Diffstat (limited to 'config/bootstrap-asan.mk')
-rw-r--r-- | config/bootstrap-asan.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk index fbef02125dc..52ef30e99c8 100644 --- a/config/bootstrap-asan.mk +++ b/config/bootstrap-asan.mk @@ -1,5 +1,8 @@ # This option enables -fsanitize=address for stage2 and stage3. +# Suppress LeakSanitizer in bootstrap. +export ASAN_OPTIONS="detect_leaks=0" + STAGE2_CFLAGS += -fsanitize=address STAGE3_CFLAGS += -fsanitize=address POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \ |