Re-enable LLVM LTO on Neon targets.
LTO was disabled due to a GCC compiler bug that does not affect LLVM. This fixes the build in the cfi_vptr==1 configuration, which requires LLVM LTO. TBR=pcc@google.com BUG=chromium:469376 patch from issue 1295663002 at patchset 1 (http://crrev.com/1295663002#ps1) Review URL: https://codereview.webrtc.org/1294293003 . Patch from Peter Collingbourne <pcc@google.com>. Cr-Commit-Position: refs/heads/master@{#9721}
This commit is contained in:
committed by
Andrew MacDonald
parent
3260133deb
commit
7b3de4b7d0
@ -30,9 +30,9 @@
|
||||
'-mfpu=neon',
|
||||
],
|
||||
}],
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# Disable GCC LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
['use_lto==1', {
|
||||
['clang==0 and use_lto==1', {
|
||||
'cflags!': [
|
||||
'-flto',
|
||||
'-ffat-lto-objects',
|
||||
|
||||
Reference in New Issue
Block a user