net/eternalterminal: fix build on powerpc*
Use correct architecture names.
This commit is contained in:
parent
dd1d300773
commit
3b6e1ad430
1 changed files with 14 additions and 0 deletions
14
net/eternalterminal/files/patch-cmake_FindUnwind.cmake
Normal file
14
net/eternalterminal/files/patch-cmake_FindUnwind.cmake
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- cmake/FindUnwind.cmake.orig 2022-02-07 18:57:25 UTC
|
||||
+++ cmake/FindUnwind.cmake
|
||||
@@ -19,9 +19,9 @@ elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
|
||||
set (Unwind_ARCH "unwind-x86_64" "unwind-x86")
|
||||
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
|
||||
set (Unwind_ARCH "unwind-x86" "unwind-x86_64")
|
||||
-elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc64")
|
||||
+elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc64|ppc64)")
|
||||
set (Unwind_ARCH "unwind-ppc64")
|
||||
-elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc")
|
||||
+elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
|
||||
set (Unwind_ARCH "unwind-ppc32")
|
||||
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^mips")
|
||||
set (Unwind_ARCH "unwind-mips")
|
Loading…
Reference in a new issue