From 93fdfd19febc47b03b9c1bfcc77dcadc3c031a8f Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Mon, 10 Sep 2012 21:20:10 +0000 Subject: [PATCH] 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 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/row.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.chromium b/README.chromium index d120d2714..d3114c090 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 341 +Version: 342 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 2e9e1ee66..885d1034a 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 341 +#define LIBYUV_VERSION 342 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/row.h b/source/row.h index 038c6d2b8..4999651f4 100644 --- a/source/row.h +++ b/source/row.h @@ -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")))