Add -ldl to POSTSTAGE1_LDFLAGS
[deliverable/binutils-gdb.git] / config / bootstrap-ubsan.mk
index 2d21e832e217a968e6aaf2a749a18352a0fb2d28..0cd8b172b0fcefc94223f3f29af080eeab6cfc55 100644 (file)
@@ -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
This page took 0.024446 seconds and 4 git commands to generate.