diff -Nru zlib-1.2.8.dfsg/debian/changelog zlib-1.2.8.dfsg/debian/changelog --- zlib-1.2.8.dfsg/debian/changelog 2013-05-03 16:00:51.000000000 +0000 +++ zlib-1.2.8.dfsg/debian/changelog 2014-06-05 14:06:31.000000000 +0000 @@ -1,3 +1,9 @@ +zlib (1:1.2.8.dfsg-1+rpi1) jessie-staging; urgency=medium + + * Switch to O2 as 4.8 with O3 gives poor performance. + + -- Peter Michael Green Thu, 05 Jun 2014 14:06:16 +0000 + zlib (1:1.2.8.dfsg-1) unstable; urgency=low * New upstream release. diff -Nru zlib-1.2.8.dfsg/debian/rules zlib-1.2.8.dfsg/debian/rules --- zlib-1.2.8.dfsg/debian/rules 2013-05-03 16:00:06.000000000 +0000 +++ zlib-1.2.8.dfsg/debian/rules 2014-06-05 14:06:09.000000000 +0000 @@ -31,7 +31,7 @@ ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else - CFLAGS += -O3 + CFLAGS += -O2 endif 32-ARCHS=amd64 ppc64 kfreebsd-amd64 s390x