Skip to content
Snippets Groups Projects
Commit 42c422ed authored by Peter Nordquist's avatar Peter Nordquist
Browse files

Add gcc configuration to specify -m value for Jenkins builds

parent f0ea9478
No related branches found
No related tags found
No related merge requests found
...@@ -321,7 +321,10 @@ First consider editing the properties in build.properties ...@@ -321,7 +321,10 @@ First consider editing the properties in build.properties
<condition property="optional.x64.subdir" value="" else="x64\"> <condition property="optional.x64.subdir" value="" else="x64\">
<equals arg1="${x86_or_x86_64}" arg2="x86"/> <equals arg1="${x86_or_x86_64}" arg2="x86"/>
</condition> </condition>
<condition property="gcc.m.value" value="32" else="64">
<equals arg1="${x86_or_x86_64}" arg2="x86"/>
</condition>
<available file="${msvc.dir}\vc\bin\${optional.amd64.subdir}cl.exe" type="file" property="cl.exists" /> <available file="${msvc.dir}\vc\bin\${optional.amd64.subdir}cl.exe" type="file" property="cl.exists" />
...@@ -447,6 +450,7 @@ First consider editing the properties in build.properties ...@@ -447,6 +450,7 @@ First consider editing the properties in build.properties
<mkdir dir="${basedir}/dist"/> <mkdir dir="${basedir}/dist"/>
<echo message="linuxcc ${os.arch}" /> <echo message="linuxcc ${os.arch}" />
<exec executable="g++" failonerror="true"> <exec executable="g++" failonerror="true">
<arg value="-m${gcc.m.value}" />
<arg value="-O3" /> <arg value="-O3" />
<arg value="-g" /> <arg value="-g" />
<arg value="-fPIC" /> <arg value="-fPIC" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment