You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
1001 B
21 lines
1001 B
11 years ago
|
From: Yunqiang Su <wzssyqa@gmail.com>
|
||
|
Subject: cmake - FindJNI add mips64(el) mipsn32(el) support
|
||
|
Date: Tue, 6 May 2014 16:06:45 +0800
|
||
|
|
||
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747174
|
||
|
|
||
|
Add support for mips64 mips64el mipsn32 mipsn32el in
|
||
|
Modules/FindJNI.cmake.
|
||
|
|
||
|
--- a/Modules/FindJNI.cmake 2014-05-23 09:26:39.000000000 +0100
|
||
|
+++ b/Modules/FindJNI.cmake 2014-05-26 12:19:53.275844095 +0100
|
||
|
@@ -44,7 +44,7 @@ macro(java_append_library_directories _v
|
||
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^mips")
|
||
|
# mips* machines are bi-endian mostly so processor does not tell
|
||
|
# endianess of the underlying system.
|
||
|
- set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "mips" "mipsel" "mipseb")
|
||
|
+ set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "mips" "mipsel" "mipseb" "mips64" "mips64el" "mipsn32" "mipsn32el")
|
||
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64")
|
||
|
set(_java_libarch "ppc64" "ppc")
|
||
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
|