Linux: changed uname -i to uname -m to improve 64 bit detection in build script

This commit is contained in:
Elias Naur 2006-09-08 10:01:06 +00:00
parent 145f00031a
commit 08e94f8a7b
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@
<target name="compile">
<exec executable="uname" outputproperty="hwplatform">
<arg value="-i"/>
<arg value="-m"/>
</exec>
<condition property="libs" value="${libs64}" else="${libs32}">
<equals arg1="${hwplatform}" arg2="x86_64"/>

View file

@ -17,7 +17,7 @@
<target name="compile">
<exec executable="uname" outputproperty="hwplatform">
<arg value="-i"/>
<arg value="-m"/>
</exec>
<condition property="libs" value="${libs64}" else="${libs32}">
<equals arg1="${hwplatform}" arg2="x86_64"/>

View file

@ -21,7 +21,7 @@
<target name="compile">
<exec executable="uname" outputproperty="hwplatform">
<arg value="-i"/>
<arg value="-m"/>
</exec>
<condition property="libs" value="${libs64}" else="${libs32}">
<equals arg1="${hwplatform}" arg2="x86_64"/>