community/qt5-qtbase: remove -silent, add -no-sse2

-silent: it is annoying to remotely debug build issues without full
build log. we can afford a few extra megabytes of build log

-no-sse2: fixes #12934
This commit is contained in:
Alex Xu (Hello71) 2021-08-23 15:29:41 -04:00
parent f633e12bef
commit acfaf1128f

View File

@ -1,7 +1,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtbase
pkgver=5.15.3_git20210713
pkgrel=2
pkgrel=3
_commit="663d240a18f5acac82fd2bd0fd4a33c4f47b260a"
pkgdesc="Qt5 - QtBase components"
url="https://qt.io/developers/"
@ -83,6 +83,11 @@ case "$CTARGET_ARCH" in
*) _opengl="-opengl";;
esac
case "$CTARGET_ARCH" in
x86) _no_sse2=-no-sse2 ;;
*) _no_sse2= ;;
esac
# secfixes:
# 5.15.0-r2:
# - CVE-2020-17507
@ -127,7 +132,6 @@ build() {
-plugin-sql-tds \
-plugindir "$_qt5_prefix"/plugins \
-prefix /usr \
-silent \
-sysconfdir /etc/xdg \
-system-libjpeg \
-system-libpng \
@ -135,7 +139,8 @@ build() {
-system-sqlite \
-system-zlib \
-translationdir "$_qt5_datadir"/translations \
-no-reduce-relocations
-no-reduce-relocations \
$_no_sse2
make
}