Mercurial > hg > CbC > CbC_gcc
comparison config/bootstrap-ubsan.mk @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 # This option enables -fsanitize=undefined for stage2 and stage3. | 1 # This option enables -fsanitize=undefined for stage2 and stage3. |
2 | 2 |
3 STAGE2_CFLAGS += -fsanitize=undefined | 3 STAGE2_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP |
4 STAGE3_CFLAGS += -fsanitize=undefined | 4 STAGE3_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP |
5 POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan \ | 5 POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -DUBSAN_BOOTSTRAP \ |
6 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \ | 6 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \ |
7 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \ | 7 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \ |
8 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs | 8 -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs |