diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-12-12 13:45:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-12-12 13:45:36 +0000 |
commit | 22158f58f7787edcfc7b7fa7596da5ef0ffdcfdc (patch) | |
tree | 46923342911320e7a4b72261ad289232b3e4de33 /config/bootstrap-asan.mk | |
parent | 6bac6364c28430cbb6bd3b3485e59c7800ea9a09 (diff) | |
download | gdb-22158f58f7787edcfc7b7fa7596da5ef0ffdcfdc.tar.gz |
Add bootstrap-asan.mk
* bootstrap-asan.mk: New file.
Diffstat (limited to 'config/bootstrap-asan.mk')
-rw-r--r-- | config/bootstrap-asan.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk new file mode 100644 index 00000000000..d37a9da6bbf --- /dev/null +++ b/config/bootstrap-asan.mk @@ -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 |