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

David Runge dvzrv at gemini.archlinux.org
Tue Dec 28 22:09:35 UTC 2021


    Date: Tuesday, December 28, 2021 @ 22:09:35
  Author: dvzrv
Revision: 1086447

upgpkg: lib32-boost 1.78.0-3: Rebuild to fix issues with LTO.

Add -ffat-lto-objects to CFLAGS and CXXFLAGS to prevent static lib mangling.

Modified:
  lib32-boost/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-28 21:53:01 UTC (rev 1086446)
+++ PKGBUILD	2021-12-28 22:09:35 UTC (rev 1086447)
@@ -5,7 +5,7 @@
 pkgname=(lib32-boost lib32-boost-libs)
 pkgver=1.78.0
 _srcname=${_name}_${pkgver//./_}
-pkgrel=2
+pkgrel=3
 pkgdesc="Free peer-reviewed portable C++ source libraries - 32bit"
 arch=(x86_64)
 url="https://www.boost.org/"
@@ -77,8 +77,8 @@
 
   ./b2 install \
     address-model=32 \
-    cflags="$CPPFLAGS $CFLAGS -fPIC -O3" \
-    cxxflags="$CPPFLAGS $CXXFLAGS -fPIC -O3" \
+    cflags="$CPPFLAGS $CFLAGS -ffat-lto-objects -fPIC -O3" \
+    cxxflags="$CPPFLAGS $CXXFLAGS -ffat-lto-objects -fPIC -O3" \
     debug-symbols=off \
     linkflags="$LDFLAGS" \
     link=shared,static \



More information about the arch-commits mailing list