From bb66c021ff871a37339e1d3ac8592be66be2a4b8 Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Tue, 18 Aug 2015 15:26:52 -0700 Subject: [PATCH] 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. R=pcc@google.com BUG=chromium:469376 Review URL: https://webrtc-codereview.appspot.com/57659004. --- README.chromium | 2 +- include/libyuv/version.h | 2 +- libyuv.gyp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.chromium b/README.chromium index 915bf54e6..315b03631 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1467 +Version: 1469 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 1b75a69da..ec9ce5d6f 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1467 +#define LIBYUV_VERSION 1469 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/libyuv.gyp b/libyuv.gyp index 9bb883a8b..664a51190 100644 --- a/libyuv.gyp +++ b/libyuv.gyp @@ -50,7 +50,7 @@ ], 'conditions': [ # Disable LTO in libyuv_neon target due to gcc 4.9 compiler bug. - ['use_lto == 1', { + ['clang == 0 and use_lto == 1', { 'cflags!': [ '-flto', '-ffat-lto-objects',