File: bootstrap-ubsan.mk

package info (click to toggle)
gdb 7.7.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 188,072 kB
  • ctags: 285,193
  • sloc: ansic: 1,961,235; asm: 319,929; exp: 109,483; makefile: 53,376; sh: 22,635; yacc: 10,891; cpp: 10,169; xml: 6,135; perl: 4,960; python: 3,452; ada: 1,998; pascal: 1,436; lex: 622; lisp: 536; sed: 228; f90: 164; awk: 140; objc: 134; java: 73; fortran: 43
file content (8 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (37)
1
2
3
4
5
6
7
8
# This option enables -fsanitize=undefined for stage2 and stage3.

STAGE2_CFLAGS += -fsanitize=undefined
STAGE3_CFLAGS += -fsanitize=undefined
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/.libs