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:
fbarchard@google.com 2012-09-10 21:20:10 +00:00
parent feb589f6ce
commit 93fdfd19fe
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 341
Version: 342
License: BSD
License File: LICENSE

View File

@ -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

View File

@ -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")))