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

Jelle van der Waa jelle at gemini.archlinux.org
Fri Dec 24 11:05:24 UTC 2021


    Date: Friday, December 24, 2021 @ 11:05:24
  Author: jelle
Revision: 1083382

Fix strip failing due to LTO

Modified:
  libnest2d/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-24 10:38:43 UTC (rev 1083381)
+++ PKGBUILD	2021-12-24 11:05:24 UTC (rev 1083382)
@@ -2,7 +2,7 @@
 
 pkgname=libnest2d
 pkgver=0.4
-pkgrel=1
+pkgrel=2
 pkgdesc='2D irregular bin packaging and nesting library written in modern C++'
 arch=(x86_64)
 url='https://github.com/tamasmeszaros/libnest2d'
@@ -28,6 +28,7 @@
 
 build() {
   cd ${pkgname}/build
+  export CXXFLAGS+=" -ffat-lto-objects"
   cmake .. -DLIBNEST2D_HEADER_ONLY=OFF -DCMAKE_INSTALL_PREFIX=/usr
 }
 



More information about the arch-commits mailing list