mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 09:16:48 +08:00
llvm/clang does not support attribute optimize. Disable the OMITFP macro for llvm. #if defined(__APPLE__) || defined(__x86_64__) || defined(__llvm__)
BUG=83 TEST=webrtc build bots Review URL: https://webrtc-codereview.appspot.com/787007 git-svn-id: http://libyuv.googlecode.com/svn/trunk@342 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
feb589f6ce
commit
93fdfd19fe
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 341
|
||||
Version: 342
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 341
|
||||
#define LIBYUV_VERSION 342
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -139,7 +139,7 @@ typedef int32 vec32[4];
|
||||
typedef uint32 uvec32[4];
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) || defined(__x86_64__)
|
||||
#if defined(__APPLE__) || defined(__x86_64__) || defined(__llvm__)
|
||||
#define OMITFP
|
||||
#else
|
||||
#define OMITFP __attribute__((optimize("omit-frame-pointer")))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user