mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/qt5-base: fix
This commit is contained in:
parent
355301e555
commit
444efcf7cf
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue