[arch-commits] Commit in yajl/trunk (PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Fri Dec 24 10:30:32 UTC 2021


    Date: Friday, December 24, 2021 @ 10:30:31
  Author: jelle
Revision: 433029

Handle strip issues when building with LTO

Modified:
  yajl/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-24 10:26:22 UTC (rev 433028)
+++ PKGBUILD	2021-12-24 10:30:31 UTC (rev 433029)
@@ -6,7 +6,7 @@
 
 pkgname=yajl
 pkgver=2.1.0
-pkgrel=4
+pkgrel=5
 pkgdesc='Yet Another JSON Library'
 arch=('x86_64')
 url='https://lloyd.github.com/yajl/'
@@ -20,6 +20,7 @@
 
 build() {
   cd "$pkgname-$pkgver"
+  export CFLAGS+=" -ffat-lto-objects"
   cmake -DCMAKE_INSTALL_PREFIX='/usr' \
         -DCMAKE_BUILD_TYPE='None' \
         -Wno-dev \



More information about the arch-commits mailing list