aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-11-29 13:33:42 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-11-29 13:33:42 -0800
commit9b870afa882d80b8b54d02ce4da6416728b6c372 (patch)
treee1bff49190c47068ddbb71f35f1cf9a615e9decb /config
parent7b2d3abff95a996c7e6e7cb64d806e1b9ab47aec (diff)
downloadgdb-9b870afa882d80b8b54d02ce4da6416728b6c372.zip
gdb-9b870afa882d80b8b54d02ce4da6416728b6c372.tar.gz
gdb-9b870afa882d80b8b54d02ce4da6416728b6c372.tar.bz2
Remove -lpthread -ldl and add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/
2013-11-29 Marek Polacek <polacek@redhat.com> * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl. Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/bootstrap-ubsan.mk3
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