diff options
author | Marek Polacek <polacek@redhat.com> | 2013-11-29 20:13:45 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2013-11-29 20:13:45 +0000 |
commit | 3163a5cab5300b83bc261da596a2301431505909 (patch) | |
tree | a2973179c24a5b87555f71104a3c65ec2c3d39ab /config | |
parent | 49f5efa5ea35706895eadcdff8c03387be5058e6 (diff) | |
download | gcc-3163a5cab5300b83bc261da596a2301431505909.zip gcc-3163a5cab5300b83bc261da596a2301431505909.tar.gz gcc-3163a5cab5300b83bc261da596a2301431505909.tar.bz2 |
bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl.
* bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl.
Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
From-SVN: r205542
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 5 | ||||
-rw-r--r-- | config/bootstrap-ubsan.mk | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index b0297d5..7d00062 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2013-11-29 Marek Polacek <polacek@redhat.com> + + * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl. + Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/. + 2013-11-29 H.J. Lu <hongjiu.lu@intel.com> * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add diff --git a/config/bootstrap-ubsan.mk b/config/bootstrap-ubsan.mk index 0cd8b17..d2615e8 100644 --- a/config/bootstrap-ubsan.mk +++ b/config/bootstrap-ubsan.mk @@ -2,6 +2,7 @@ STAGE2_CFLAGS += -fsanitize=undefined STAGE3_CFLAGS += -fsanitize=undefined -POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -lpthread -ldl \ +POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan \ + -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs |