diff options
author | Slava Barinov <v.barinov@samsung.com> | 2017-07-25 11:44:17 +0300 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2017-08-03 08:30:31 +0000 |
commit | 56c888a5a7232334e1d726beadbba66c26a80867 (patch) | |
tree | 5b3cbb31d2ad2077555ed2e0550c06157261b8c8 /config | |
parent | fa348cd817b131784aa313b9b37aa8d3dcbc8f02 (diff) | |
download | linaro-gcc-56c888a5a7232334e1d726beadbba66c26a80867.tar.gz linaro-gcc-56c888a5a7232334e1d726beadbba66c26a80867.tar.bz2 linaro-gcc-56c888a5a7232334e1d726beadbba66c26a80867.zip |
packaging: Enable ASan bootstrap for ASan projects
GCC will be built in ASan projects.
To test the GCC package the rpm macro `asanbootstrap' should be defined in
project config.
Change-Id: Id91425e2895f63ec92c8e83fb96f93aaade67728
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/bootstrap-asan.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk index 70baaf9bb17..d22b10ce4dd 100644 --- a/config/bootstrap-asan.mk +++ b/config/bootstrap-asan.mk @@ -5,7 +5,7 @@ export LSAN_OPTIONS="detect_leaks=0" STAGE2_CFLAGS += -fsanitize=address STAGE3_CFLAGS += -fsanitize=address -POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \ +POSTSTAGE1_LDFLAGS += -fsanitize=address \ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs |