From 444efcf7cf527d860260224779a233d8160f6692 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 12 Feb 2022 00:12:44 +0000 Subject: [PATCH] extra/qt5-base: fix --- extra/qt5-base/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD index 4305778de..2b1ddf301 100644 --- a/extra/qt5-base/PKGBUILD +++ b/extra/qt5-base/PKGBUILD @@ -5,6 +5,7 @@ # - -no-reduce-relocations -- not available on ARM # - explicitly disable x86 optimizations # - -no-feature-getentropy for old kernel compatibility +# - remove ltcg from qmake-config.patch, CONFIG+=fat-static-lto from qmake call pkgbase=qt5-base pkgname=(qt5-base qt5-xcb-private-headers) @@ -53,6 +54,8 @@ prepare() { patch -p1 < ../qmake-cflags.patch # Use system CFLAGS in qmake patch -p1 < ../qmake-config.patch # Don't strip binaries with qmake and use -ltcg, cf. QTBUG-73834 + + sed -i 's/ltcg//' mkspecs/common/gcc-base.conf } build() { @@ -88,7 +91,7 @@ build() { -no-feature-getentropy # No configure flag for fat static libs with lto - bin/qmake CONFIG+=fat-static-lto -- -redo + bin/qmake -- -redo make }