extra/qt5-base: fix

This commit is contained in:
Kevin Mihelich 2022-02-12 00:12:44 +00:00
parent 355301e555
commit 444efcf7cf

View file

@ -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
}