1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #88 from taka-no-me/build_ubuntu_x86_o2

This commit is contained in:
Andrey Kamaev
2012-10-23 16:20:56 +04:00
+1 -1
View File
@@ -1,4 +1,4 @@
if(MINGW)
if(MINGW OR (X86 AND UNIX AND NOT APPLE))
# mingw compiler is known to produce unstable SSE code with -O3 hence we are trying to use -O2 instead
if(CMAKE_COMPILER_IS_GNUCXX)
foreach(flags CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_DEBUG)