From 1a6fbf38207ccff666dd788d0413c227178a619e Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Tue, 18 Feb 2025 18:04:40 -0500 Subject: [PATCH] gzip: Actually build with optimizations: In a basic test, this halves compression time and cuts 20+% off decompression time. --- app-arch/gzip/gzip-1.12.recipe | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-arch/gzip/gzip-1.12.recipe b/app-arch/gzip/gzip-1.12.recipe index 138b2fbf8..3011887af 100644 --- a/app-arch/gzip/gzip-1.12.recipe +++ b/app-arch/gzip/gzip-1.12.recipe @@ -7,7 +7,7 @@ HOMEPAGE="https://www.gnu.org/software/gzip/" COPYRIGHT="1992-1993 Jean-loup Gailly 1999-2016 Free Software Foundation, Inc." LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="http://ftpmirror.gnu.org/gzip/gzip-$portVersion.tar.xz" CHECKSUM_SHA256="ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956" PATCHES="gzip-$portVersion.patchset" @@ -54,7 +54,8 @@ TEST_REQUIRES=" BUILD() { - AUTOCONF=: AUTOMAKE=: CFLAGS="-Wno-error" \ + AUTOCONF=: AUTOMAKE=: \ + CFLAGS="-O2 -Wno-error" \ runConfigure ./configure make $jobArgs }