Merge "[cc_fuzz] Revert 'disable LTO' patches." am: df80322fcd
am: 7bf9d4e1fa
Original change: https://android-review.googlesource.com/c/platform/build/+/1976676 Change-Id: I0c3453928e7da6aeba29bb4519e230d6dfb71c2b
This commit is contained in:
commit
2ff34809c7
1 changed files with 0 additions and 6 deletions
|
@ -293,12 +293,6 @@ ifneq ($(filter fuzzer,$(my_sanitize)),)
|
|||
# information, not to link against the fuzzer main().
|
||||
my_sanitize := $(filter-out fuzzer,$(my_sanitize))
|
||||
my_sanitize += fuzzer-no-link
|
||||
|
||||
# TODO(b/131771163): Disable LTO for fuzzer builds. Note that Cfi causes
|
||||
# dependency on LTO.
|
||||
my_sanitize := $(filter-out cfi,$(my_sanitize))
|
||||
my_cflags += -fno-lto
|
||||
my_ldflags += -fno-lto
|
||||
endif
|
||||
|
||||
ifneq ($(filter integer_overflow,$(my_sanitize)),)
|
||||
|
|
Loading…
Reference in a new issue