summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-11-13 02:04:09 +0100
committerMichael Bien <[email protected]>2009-11-13 02:04:09 +0100
commit79622f85fea532ce26c65933722a29d6fe87a931 (patch)
tree5f16e5901411cc7396e791300b517d34bcd353f0 /make
parent58f2420ebba62e9b23d9480bc2bcbc9e5d587b44 (diff)
added explicit -m32 and -m64 args to linux gcc compiler and linker configure targets.
Diffstat (limited to 'make')
-rwxr-xr-xmake/gluegen-cpptasks.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/gluegen-cpptasks.xml b/make/gluegen-cpptasks.xml
index 4afca7a..3640052 100755
--- a/make/gluegen-cpptasks.xml
+++ b/make/gluegen-cpptasks.xml
@@ -487,10 +487,12 @@
<target name="gluegen.cpptasks.configure.compiler" depends="setup.java.home.dir" unless="gluegen.compiler.present">
<!-- compiler configuration -->
<compiler id="compiler.cfg.linux" name="gcc">
+ <compilerarg value="-m32"/>
</compiler>
<compiler id="compiler.cfg.linux.amd64" name="gcc">
<compilerarg value="-fPIC"/>
+ <compilerarg value="-m64"/>
</compiler>
<compiler id="compiler.cfg.solaris" name="suncc">
@@ -610,9 +612,11 @@
<!-- linker configuration -->
<linker id="linker.cfg.linux" name="gcc">
+ <linkerarg value="-m32"/>
</linker>
<linker id="linker.cfg.linux.amd64" name="gcc">
+ <linkerarg value="-m64"/>
</linker>
<linker id="linker.cfg.solaris" name="suncc">