File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ cd opencv
1414
1515echo " Apply patch"
1616
17- git apply ../travis/disable_i386.patch
17+ git apply --ignore-space-change --ignore-whitespace ../travis/disable_i386.patch
1818
1919echo ' Config make'
2020
Original file line number Diff line number Diff line change 11diff --git a/CMakeLists.txt b/CMakeLists.txt
2- index af5e2c1..4ef83c1 100644
2+ index af5e2c1..cee9726 100644
33--- a/CMakeLists.txt
44+++ b/CMakeLists.txt
5- @@ -192,6 +192,8 @@ if(MINGW)
5+ @@ -192,6 +192,9 @@ if(MINGW)
66 endif()
77 endif()
88
99+ string(REPLACE "-arch i386" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
10+ + string(REPLACE "-arch i386" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
1011+
1112 # ----------------------------------------------------------------------------
1213 # OpenCV cmake options
You can’t perform that action at this time.
0 commit comments