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

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


    Date: Friday, December 24, 2021 @ 10:26:18
  Author: jelle
Revision: 433027

Work around stripping errors when building with LTO

Modified:
  popt/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-24 10:23:14 UTC (rev 433026)
+++ PKGBUILD	2021-12-24 10:26:18 UTC (rev 433027)
@@ -2,7 +2,7 @@
 
 pkgname=popt
 pkgver=1.18
-pkgrel=1
+pkgrel=2
 pkgdesc="A commandline option parser"
 arch=('x86_64')
 url="https://github.com/rpm-software-management/popt"
@@ -14,7 +14,8 @@
 
 build() {
   cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
+  # Avoid stripping issue
+  CFLAGS+=" -ffat-lto-objects" ./configure --prefix=/usr
   make
 }
 



More information about the arch-commits mailing list