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

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


    Date: Friday, December 24, 2021 @ 13:45:38
  Author: arojas
Revision: 433042

Use -ffat-lto-objects for static libs

Modified:
  qhull/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-24 13:42:37 UTC (rev 433041)
+++ PKGBUILD	2021-12-24 13:45:38 UTC (rev 433042)
@@ -19,7 +19,9 @@
 
 build() {
   cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects" \
+    -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects"
   cmake --build build
   cmake --build build --target libqhull # deprecated, needed by octave
 }



More information about the arch-commits mailing list