Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c70a92

Browse filesBrowse files
committed
fix patch command, disable i386 for C compiler too
1 parent da97be1 commit 0c70a92
Copy full SHA for 0c70a92

File tree

Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed

‎travis/build-wheels-osx.sh

Copy file name to clipboardExpand all lines: travis/build-wheels-osx.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cd opencv
1414

1515
echo "Apply patch"
1616

17-
git apply ../travis/disable_i386.patch
17+
git apply --ignore-space-change --ignore-whitespace ../travis/disable_i386.patch
1818

1919
echo 'Config make'
2020

‎travis/disable_i386.patch

Copy file name to clipboardExpand all lines: travis/disable_i386.patch
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
diff --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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.