Index: libvpx_srcs_x86_intrinsics.gypi |
diff --git a/libvpx_srcs_x86_intrinsics.gypi b/libvpx_srcs_x86_intrinsics.gypi |
index fbedf4201e864eda38ac135a66250ec1804f5187..2b5c046fbbd96a7bb0a517067eafd0ee34ccea5b 100644 |
--- a/libvpx_srcs_x86_intrinsics.gypi |
+++ b/libvpx_srcs_x86_intrinsics.gypi |
@@ -124,6 +124,13 @@ |
# TODO(pcc): Remove this once we properly support subtarget specific |
# code generation in LLVM (http://llvm.org/PR19416). |
'cflags!': [ '-flto', '-fsanitize=cfi-vptr', ], |
+ 'target_conditions': [ |
+ ['_toolset=="target"', { |
+ 'xcode_settings': { |
+ 'LLVM_LTO': 'NO', |
+ }, |
+ }], |
+ ], |
}, |
], |
} |