Commit 3163a5ca by Marek Polacek Committed by Marek Polacek

bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl.

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

From-SVN: r205542
parent 49f5efa5
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> 2013-11-29 H.J. Lu <hongjiu.lu@intel.com>
* bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
STAGE2_CFLAGS += -fsanitize=undefined STAGE2_CFLAGS += -fsanitize=undefined
STAGE3_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/ \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment