aboutsummaryrefslogtreecommitdiff
path: root/config/bootstrap-ubsan.mk
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-11-29 11:06:55 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-11-29 11:06:55 -0800
commita5c9fbf2ce50715b18cc94c10ec0515e6fd05407 (patch)
treefe239671e09d864b47b5e16bfef2e84c27d398db /config/bootstrap-ubsan.mk
parent024659e6d6db5ae5d8f8db12234f4c12e2f2b9f8 (diff)
downloadgdb-a5c9fbf2ce50715b18cc94c10ec0515e6fd05407.zip
gdb-a5c9fbf2ce50715b18cc94c10ec0515e6fd05407.tar.gz
gdb-a5c9fbf2ce50715b18cc94c10ec0515e6fd05407.tar.bz2
Add -ldl to POSTSTAGE1_LDFLAGS
2013-11-19 Marek Polacek <polacek@redhat.com> * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl.
Diffstat (limited to 'config/bootstrap-ubsan.mk')
-rw-r--r--config/bootstrap-ubsan.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bootstrap-ubsan.mk b/config/bootstrap-ubsan.mk
index 2d21e83..0cd8b17 100644
--- a/config/bootstrap-ubsan.mk
+++ b/config/bootstrap-ubsan.mk
@@ -2,6 +2,6 @@
STAGE2_CFLAGS += -fsanitize=undefined
STAGE3_CFLAGS += -fsanitize=undefined
-POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -lpthread \
+POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -lpthread -ldl \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs