Commit 93fdfd19 authored by fbarchard@google.com's avatar fbarchard@google.com

llvm/clang does not support attribute optimize. Disable the OMITFP macro for…

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
parent feb589f6
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")))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment