summarylogtreecommitdiffstats
path: root/1007_detect-arm-arch-correctly.patch
diff options
context:
space:
mode:
Diffstat (limited to '1007_detect-arm-arch-correctly.patch')
-rw-r--r--1007_detect-arm-arch-correctly.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/1007_detect-arm-arch-correctly.patch b/1007_detect-arm-arch-correctly.patch
new file mode 100644
index 000000000000..b285033a2079
--- /dev/null
+++ b/1007_detect-arm-arch-correctly.patch
@@ -0,0 +1,14 @@
+Description: Detect arm architecture correctly
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+--- a/cmake/ConfigOptions.cmake
++++ b/cmake/ConfigOptions.cmake
+@@ -6,7 +6,7 @@
+ elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND (APPLE))
+ # Mac is weird like that.
+ set(TARGET_ARCH "x64")
+-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm*")
++elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm.*")
+ set(TARGET_ARCH "ARM")
+ endif()
+