net/freerdp: fix build on sparc64

PR:		186395
Obtained from:	FreeRDP commit 68619b6
This commit is contained in:
Michael Moll 2015-11-29 20:06:29 +00:00
parent 9d1bdf2ea8
commit 550250ee5b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402618

View 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()