hpux pa 64-bit support

This commit is contained in:
Doug MacEachern 2009-05-14 17:33:52 -07:00
parent 55167b6ebe
commit 0d3d5e45da
2 changed files with 4 additions and 0 deletions

View File

@ -275,6 +275,7 @@ USA.
<!-- HPUX --> <!-- HPUX -->
<compiler name="hp" if="hpux"> <compiler name="hp" if="hpux">
<compilerarg value="+Z"/> <compilerarg value="+Z"/>
<compilerarg value="+DD64" if="jni.arch64"/>
<defineset> <defineset>
<define name="${jni.define.name}_HPUX"/> <define name="${jni.define.name}_HPUX"/>

View File

@ -67,6 +67,9 @@ public class ArchName {
} }
else { else {
arch = "pa"; arch = "pa";
if (is64()) {
arch += "64";
}
} }
if (version.indexOf("11") > -1) { if (version.indexOf("11") > -1) {
return arch + "-hpux-11"; return arch + "-hpux-11";