harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r689090 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/unix/makefile
Date Tue, 26 Aug 2008 14:13:30 GMT
Author: hindessm
Date: Tue Aug 26 07:13:29 2008
New Revision: 689090

URL: http://svn.apache.org/viewvc?rev=689090&view=rev
Log:
Optimize zlib builds.  See:

  http://markmail.org/message/dpnz2mcgp22k6yjr
  http://markmail.org/message/ovq63btophwzj5ke

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/unix/makefile

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/unix/makefile
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/unix/makefile?rev=689090&r1=689089&r2=689090&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/unix/makefile (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zlib/unix/makefile Tue
Aug 26 07:13:29 2008
@@ -17,6 +17,16 @@
 # Makefile for module 'zlib'
 #
 
+# We don't need to debug into zlib
+HY_CFG=release
+
+HYRELEASECFLAGS = -O3
+
+# Further performance improvement on x86 and x86_64
+ifneq (,$(findstring x86,$(HY_ARCH)))
+HYRELEASECFLAGS += -DUNALIGNED_OK
+endif
+
 include $(HY_HDK)/build/make/defines.mk
 
 ZLIB_DIST=../../zlib_dist/# Path to zlib



Mime
View raw message