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
14
14
15
15
echo " Apply patch"
16
16
17
- git apply ../travis/disable_i386.patch
17
+ git apply --ignore-space-change --ignore-whitespace ../travis/disable_i386.patch
18
18
19
19
echo ' Config make'
20
20
Original file line number Diff line number Diff line change 1
1
diff --git a/CMakeLists.txt b/CMakeLists.txt
2
- index af5e2c1..4ef83c1 100644
2
+ index af5e2c1..cee9726 100644
3
3
--- a/CMakeLists.txt
4
4
+++ b/CMakeLists.txt
5
- @@ -192,6 +192,8 @@ if(MINGW)
5
+ @@ -192,6 +192,9 @@ if(MINGW)
6
6
endif()
7
7
endif()
8
8
9
9
+ string(REPLACE "-arch i386" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
10
+ + string(REPLACE "-arch i386" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
10
11
+
11
12
# ----------------------------------------------------------------------------
12
13
# OpenCV cmake options
You can’t perform that action at this time.
0 commit comments