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

Jelle van der Waa jelle at gemini.archlinux.org
Fri Dec 24 12:07:20 UTC 2021


    Date: Friday, December 24, 2021 @ 12:07:20
  Author: jelle
Revision: 1083388

Handle strip issues due to building with LTO

Modified:
  bcc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-24 11:16:50 UTC (rev 1083387)
+++ PKGBUILD	2021-12-24 12:07:20 UTC (rev 1083388)
@@ -5,7 +5,7 @@
 pkgbase=bcc
 pkgname=('bcc' 'bcc-tools' 'python-bcc')
 pkgver=0.22.0
-pkgrel=4
+pkgrel=5
 pkgdesc='BPF Compiler Collection'
 arch=('x86_64')
 url='https://github.com/iovisor/bcc'
@@ -18,6 +18,8 @@
 build() {
   mkdir -p bcc/build
   cd bcc/build
+  export CFLAGS+=" -ffat-lto-objects"
+  export CXXFLAGS+=" -ffat-lto-objects"
 
   # The python version is irrelevant at this stage
   cmake -DREVISION=$pkgver \



More information about the arch-commits mailing list