[arch-commits] Commit in editorconfig-core-c/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Dec 24 13:38:41 UTC 2021


    Date: Friday, December 24, 2021 @ 13:38:41
  Author: arojas
Revision: 433038

Use -ffat-lto-objects for static libs

Modified:
  editorconfig-core-c/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-24 13:27:12 UTC (rev 433037)
+++ PKGBUILD	2021-12-24 13:38:41 UTC (rev 433038)
@@ -17,7 +17,8 @@
 
 build() {
   cmake -B build -S $pkgname-$pkgver \
-      -DCMAKE_INSTALL_PREFIX=/usr
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects"
   cmake --build build
 }
 



More information about the arch-commits mailing list