Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
gzip


Commits:
597eb522 by Christian Hesse at 2025-04-27T00:04:39+02:00
upgpkg: 1.14-2: disable gcc warnings, enable lto

Turns out the `configure` script enables all gcc warnings (and thus
errors) when building from a git repository. Let's disable that for
the old (release tarball) behavior.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = gzip
        pkgdesc = GNU compression utility
        pkgver = 1.14
-       pkgrel = 1
+       pkgrel = 2
        url = https://www.gnu.org/software/gzip/
        arch = x86_64
        license = GPL-3.0-or-later
@@ -17,7 +17,6 @@ pkgbase = gzip
        optdepends = less: zless support
        optdepends = util-linux: zmore support
        optdepends = diffutils: zdiff/zcmp support
-       options = !lto
        source = git+https://git.savannah.gnu.org/git/gzip.git#tag=v1.14?signed
        source = git+https://git.savannah.gnu.org/git/gnulib.git
        validpgpkeys = 155D3FC500C834486D1EEA677FD9FCCB000BEEEE


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=gzip
 pkgver=1.14
-pkgrel=1
+pkgrel=2
 pkgdesc='GNU compression utility'
 arch=('x86_64')
 url='https://www.gnu.org/software/gzip/'
@@ -14,7 +14,6 @@ makedepends=('git' 'less' 'python' 'wget')
 optdepends=('less: zless support'
             'util-linux: zmore support'
             'diffutils: zdiff/zcmp support')
-options=('!lto')
 validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering
 source=("git+https://git.savannah.gnu.org/git/gzip.git#tag=v${pkgver}?signed";
         "git+https://git.savannah.gnu.org/git/gnulib.git";)
@@ -34,7 +33,9 @@ prepare() {
 
 build() {
   cd $pkgname
-  ./configure --prefix=/usr
+  ./configure \
+    --prefix=/usr \
+    --disable-gcc-warnings
   make
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gzip/-/commit/597eb522e6134d00806b41548a8d68a812380560

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gzip/-/commit/597eb522e6134d00806b41548a8d68a812380560
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to