Remove -lpthread -ldl and add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 29 Nov 2013 21:33:42 +0000 (13:33 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 29 Nov 2013 21:33:42 +0000 (13:33 -0800)
2013-11-29  Marek Polacek  <polacek@redhat.com>

* bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl.
Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.

config/ChangeLog
config/bootstrap-ubsan.mk

index b0297d52d1a18e25a2ad88194057196fb0a63f49..7d000625c768b0638ed071e835c486e478a6c359 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-29  Marek Polacek  <polacek@redhat.com>
+
+       * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl.
+       Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
+
 2013-11-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add
index 0cd8b172b0fcefc94223f3f29af080eeab6cfc55..d2615e8f807b4e15bd4d611fbee2edb6f0b3083f 100644 (file)
@@ -2,6 +2,7 @@
 
 STAGE2_CFLAGS += -fsanitize=undefined
 STAGE3_CFLAGS += -fsanitize=undefined
-POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -lpthread -ldl \
+POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan \
+                     -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
                      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
                      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
This page took 0.02642 seconds and 4 git commands to generate.