blob: e4093ebcef80423cff700ae759638a732e94d9e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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()
|