From: H.J. Lu Date: Fri, 29 Nov 2013 19:06:55 +0000 (-0800) Subject: Add -ldl to POSTSTAGE1_LDFLAGS X-Git-Tag: gdb-7.7-release~322 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5c9fbf2ce50715b18cc94c10ec0515e6fd05407;p=external%2Fbinutils.git Add -ldl to POSTSTAGE1_LDFLAGS 2013-11-19 Marek Polacek * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. --- diff --git a/config/ChangeLog b/config/ChangeLog index 5825303..6434f33 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2013-11-19 Marek Polacek + + * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. + 2013-11-18 Jan Hubicka * bootstrap-lto.mk: Use -ffat-lto-objects. 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