net/freerdp: fix build on sparc64
PR: 186395 Obtained from: FreeRDP commit 68619b6
This commit is contained in:
parent
9d1bdf2ea8
commit
550250ee5b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402618
1 changed files with 11 additions and 0 deletions
11
net/freerdp/files/patch-cmake_ConfigOptions.cmake
Normal file
11
net/freerdp/files/patch-cmake_ConfigOptions.cmake
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- cmake/ConfigOptions.cmake.orig 2015-11-29 19:53:58 UTC
|
||||||
|
+++ cmake/ConfigOptions.cmake
|
||||||
|
@@ -6,7 +6,7 @@ elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "
|
||||||
|
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()
|
||||||
|
|
Loading…
Reference in a new issue