mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-02 17:16:42 +00:00
a5c9fbf2ce
2013-11-19 Marek Polacek <polacek@redhat.com> * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl.
8 lines
339 B
Makefile
8 lines
339 B
Makefile
# This option enables -fsanitize=undefined for stage2 and stage3.
|
|
|
|
STAGE2_CFLAGS += -fsanitize=undefined
|
|
STAGE3_CFLAGS += -fsanitize=undefined
|
|
POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -lpthread -ldl \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
|