bootstrap-ubsan.mk 376 B

123456789
  1. # This option enables -fsanitize=undefined for stage2 and stage3.
  2. STAGE2_CFLAGS += -fsanitize=undefined
  3. STAGE3_CFLAGS += -fsanitize=undefined
  4. POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan \
  5. -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
  6. -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
  7. -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs