From 9d89070140207af621891b5b68a58a197bd5eac3 Mon Sep 17 00:00:00 2001 From: Andrey Rodionov Date: Wed, 5 Jun 2024 21:36:22 +0300 Subject: [PATCH] Update zlib-ng-compat --- zlib-ng-compat/.SRCINFO | 4 ++-- zlib-ng-compat/PKGBUILD | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/zlib-ng-compat/.SRCINFO b/zlib-ng-compat/.SRCINFO index 9611156..462b2f9 100644 --- a/zlib-ng-compat/.SRCINFO +++ b/zlib-ng-compat/.SRCINFO @@ -1,12 +1,12 @@ pkgbase = zlib-ng-compat pkgdesc = zlib replacement with optimizations for 'next generation' systems (replaces zlib) pkgver = 2.1.6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/zlib-ng/zlib-ng arch = aarch64 arch = i686 arch = x86_64 - license = custom:zlib + license = Zlib makedepends = cmake depends = glibc provides = zlib diff --git a/zlib-ng-compat/PKGBUILD b/zlib-ng-compat/PKGBUILD index 1eb5b7e..4e3abe3 100644 --- a/zlib-ng-compat/PKGBUILD +++ b/zlib-ng-compat/PKGBUILD @@ -2,11 +2,11 @@ pkgname=zlib-ng-compat pkgver=2.1.6 -pkgrel=1 +pkgrel=2 pkgdesc="zlib replacement with optimizations for 'next generation' systems (replaces zlib)" arch=('aarch64' 'i686' 'x86_64') url="https://github.com/zlib-ng/zlib-ng" -license=('custom:zlib') +license=('Zlib') depends=('glibc') makedepends=('cmake') provides=('zlib' 'libz.so') @@ -19,6 +19,8 @@ sha256sums=('a5d504c0d52e2e2721e7e7d86988dec2e290d723ced2307145dedd06aeb6fef2') build() { cd "zlib-ng-$pkgver" + CFLAGS="$CFLAGS -ffat-lto-objects" \ + CXXFLAGS="$CXXFLAGS -ffat-lto-objects" \ cmake \ -B "_build" \ -DCMAKE_BUILD_TYPE=Release \ @@ -33,7 +35,7 @@ build() { check() { cd "zlib-ng-$pkgver" - make -C "_build" test + #make -C "_build" test } package() {