Remove -lpthread -ldl and add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/
2013-11-29 Marek Polacek <polacek@redhat.com> * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl. Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
This commit is contained in:
parent
7b2d3abff9
commit
9b870afa88
@ -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>
|
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 @@
|
|||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user