diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-11-29 11:06:55 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-11-29 11:06:55 -0800 |
commit | a5c9fbf2ce50715b18cc94c10ec0515e6fd05407 (patch) | |
tree | fe239671e09d864b47b5e16bfef2e84c27d398db /config | |
parent | Add -ffat-lto-objects to STAGE[23]_CFLAGS (diff) | |
download | binutils-gdb-a5c9fbf2ce50715b18cc94c10ec0515e6fd05407.tar.gz binutils-gdb-a5c9fbf2ce50715b18cc94c10ec0515e6fd05407.tar.bz2 binutils-gdb-a5c9fbf2ce50715b18cc94c10ec0515e6fd05407.zip |
Add -ldl to POSTSTAGE1_LDFLAGS
2013-11-19 Marek Polacek <polacek@redhat.com>
* bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl.
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 4 | ||||
-rw-r--r-- | config/bootstrap-ubsan.mk | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 58253031e06..6434f337ae9 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2013-11-19 Marek Polacek <polacek@redhat.com> + + * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. + 2013-11-18 Jan Hubicka <jh@suse.cz> * bootstrap-lto.mk: Use -ffat-lto-objects. diff --git a/config/bootstrap-ubsan.mk b/config/bootstrap-ubsan.mk index 2d21e832e21..0cd8b172b0f 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 |