From a5c9fbf2ce50715b18cc94c10ec0515e6fd05407 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 29 Nov 2013 11:06:55 -0800 Subject: Add -ldl to POSTSTAGE1_LDFLAGS 2013-11-19 Marek Polacek * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. --- config/bootstrap-ubsan.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/bootstrap-ubsan.mk') 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 -- cgit v1.2.1