diff options
author | Marek Polacek <polacek@redhat.com> | 2013-11-29 20:13:45 +0000 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2013-11-29 20:13:45 +0000 |
commit | 3ffd89237eaf4de2a3261fd0cfe75c48c58b66bf (patch) | |
tree | a2973179c24a5b87555f71104a3c65ec2c3d39ab /config/bootstrap-ubsan.mk | |
parent | 8521efcf2715a9f6a0a96705a6dbc33cb8a55aca (diff) |
* bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl.
Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@205542 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config/bootstrap-ubsan.mk')
-rw-r--r-- | config/bootstrap-ubsan.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/bootstrap-ubsan.mk b/config/bootstrap-ubsan.mk index 0cd8b172b0f..d2615e8f807 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 |