diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2012-05-28 20:13:58 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2012-05-28 20:13:58 +0000 |
commit | 8946fbfb742a751f2754dcf241b3181885e42ff2 (patch) | |
tree | f32e1728e2f99af72f0a87f87f5d64d77aa988aa /media-libs/opencv/files | |
parent | Mask new useflag of opencv, as dependency dev-cpp/tbb is not keyworded on ppc (diff) | |
download | gentoo-2-8946fbfb742a751f2754dcf241b3181885e42ff2.tar.gz gentoo-2-8946fbfb742a751f2754dcf241b3181885e42ff2.tar.bz2 gentoo-2-8946fbfb742a751f2754dcf241b3181885e42ff2.zip |
Version bump
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/opencv/files')
-rw-r--r-- | media-libs/opencv/files/opencv-2.4.0-cflags.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/opencv/files/opencv-2.4.0-cflags.patch b/media-libs/opencv/files/opencv-2.4.0-cflags.patch new file mode 100644 index 000000000000..e4093ebcef80 --- /dev/null +++ b/media-libs/opencv/files/opencv-2.4.0-cflags.patch @@ -0,0 +1,21 @@ +diff -ruN OpenCV-2.4.0.orig/cmake/OpenCVCompilerOptions.cmake OpenCV-2.4.0/cmake/OpenCVCompilerOptions.cmake +--- OpenCV-2.4.0.orig/cmake/OpenCVCompilerOptions.cmake 2012-04-27 01:47:48.000000000 +0200 ++++ OpenCV-2.4.0/cmake/OpenCVCompilerOptions.cmake 2012-05-28 21:58:15.000000000 +0200 +@@ -40,17 +40,6 @@ + endif() + + # Other optimizations +- if(ENABLE_OMIT_FRAME_POINTER) +- set(OPENCV_EXTRA_C_FLAGS "${OPENCV_EXTRA_C_FLAGS} -fomit-frame-pointer") +- else() +- set(OPENCV_EXTRA_C_FLAGS "${OPENCV_EXTRA_C_FLAGS} -fno-omit-frame-pointer") +- endif() +- if(ENABLE_FAST_MATH) +- set(OPENCV_EXTRA_C_FLAGS "${OPENCV_EXTRA_C_FLAGS} -ffast-math") +- endif() +- if(ENABLE_POWERPC) +- set(OPENCV_EXTRA_C_FLAGS "${OPENCV_EXTRA_C_FLAGS} -mcpu=G3 -mtune=G5") +- endif() + if(ENABLE_SSE) + set(OPENCV_EXTRA_C_FLAGS "${OPENCV_EXTRA_C_FLAGS} -msse") + endif() |