Commit 0871bca8 authored by Timo Teräs's avatar Timo Teräs

main/qt5-qtbase: fix arm build

-reduce-relocations is not supported and causes build failure.
pkgrel does not need bump as only non-building armhf is affected.
parent 545977c1
......@@ -72,7 +72,15 @@ prepare() {
}
build() {
local _arch
cd "$_builddir"
case "$CTARGET" in
arm*) _arch="";;
*) _arch="-reduce-relocations";;
esac
./configure -confirm-license -opensource \
-archdatadir /usr/lib/qt5 \
-datadir /usr/share/qt5 \
......@@ -98,7 +106,6 @@ build() {
-plugin-sql-tds \
-plugindir /usr/lib/qt5/plugins \
-prefix /usr \
-reduce-relocations \
-silent \
-sysconfdir /etc \
-system-libjpeg \
......@@ -108,6 +115,7 @@ build() {
-system-xcb \
-system-zlib \
-translationdir /usr/share/qt5/translations \
$_arch \
|| return 1
make || return 1
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment