Skip to content

Commit

Permalink
Do not use assembly optimized zlib build since it's buggy:
Browse files Browse the repository at this point in the history
  • Loading branch information
tortoisesvn committed Oct 31, 2013
1 parent ab001ad commit 212b25c
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions ext/build/zlib.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,9 @@
</if>
</target>

<!-- Note: do not use the asm parts since they're buggy -->
<target name="build" depends="clean">
<mkdir dir="${configuration}_${platform}" />
<if test="${platform == 'win32'}">
<copy todir="." overwrite="true">
<fileset basedir="contrib\masmx86">
<include name="*.asm" />
<include name="*.c" />
</fileset>
</copy>
<if test="${file::exists('gvmat32.asm')}">
<exec program="ml" commandline="-nologo -c -Zi -coff -DASMV -DASMINF -Fo${configuration}_${platform}\gvmat32.obj gvmat32.asm" />
</if>
</if>
<if test="${platform == 'x64'}">
<copy todir="." overwrite="true">
<fileset basedir="contrib\masmx64">
<include name="*.asm" />
<include name="*.c" />
</fileset>
</copy>
<exec program="ml64" commandline="-nologo -c -Zi -Fo${configuration}_${platform}\gvmat64.obj gvmat64.asm" />
</if>
<cl outputdir="${configuration}_${platform}">
<arg value="/O2" if="${configuration == 'release'}" />
<arg value="/Oy-" if="${configuration == 'release' and platform == 'win32'}" />
Expand Down

0 comments on commit 212b25c

Please sign in to comment.