summaryrefslogtreecommitdiffstats
path: root/config/bootstrap-ubsan.mk
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-03-22 10:25:20 +0100
committerCorinna Vinschen <corinna@vinschen.de>2016-03-22 10:25:20 +0100
commitfe508576ef1f815b22177d7597796886b91ea0c8 (patch)
tree885adbb929453bbbee04db48bdbbafec4e29205e /config/bootstrap-ubsan.mk
parent445036bb9882485133750a14a5b3da30efeae2df (diff)
downloadcygnal-fe508576ef1f815b22177d7597796886b91ea0c8.tar.gz
cygnal-fe508576ef1f815b22177d7597796886b91ea0c8.tar.bz2
cygnal-fe508576ef1f815b22177d7597796886b91ea0c8.zip
Sync toplevel with upstream GCC.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'config/bootstrap-ubsan.mk')
-rw-r--r--config/bootstrap-ubsan.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/bootstrap-ubsan.mk b/config/bootstrap-ubsan.mk
index 2d21e832e..d2615e8f8 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 \
+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