summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@redhat.com>2012-11-07 14:14:59 -0800
committerMatthew Harmsen <mharmsen@redhat.com>2012-11-07 14:17:10 -0800
commit906acfd2c82d195a7c55a2af7c4d7abe8ed2655a (patch)
tree4fae26bf48d528b5d47cc27720ef1818fdcd2883
parent87556b7b8a3fa9f918e8e5fafe0f7c889fca735c (diff)
downloadpki-906acfd2c82d195a7c55a2af7c4d7abe8ed2655a.zip
pki-906acfd2c82d195a7c55a2af7c4d7abe8ed2655a.tar.gz
pki-906acfd2c82d195a7c55a2af7c4d7abe8ed2655a.tar.xz
Enable building on ARM architecture.
* Dogtag TRAC Ticket #402 - pki-core is FTBFS on ARM
-rw-r--r--cmake/Modules/FindJNI.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Modules/FindJNI.cmake b/cmake/Modules/FindJNI.cmake
index a7da5b1..953dc85 100644
--- a/cmake/Modules/FindJNI.cmake
+++ b/cmake/Modules/FindJNI.cmake
@@ -40,6 +40,8 @@ macro(JAVA_APPEND_LIBRARY_DIRECTORIES _var)
set(_java_libarch "ppc" "powerpc" "ppc64")
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
set(_java_libarch "sparc" "sparcv9")
+ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
+ set(_java_libarch "arm")
else (CMAKE_SYSTEM_PROCESSOR MATCHES "^i[3-9]86$")
set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}")
endif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i[3-9]86$")