diff options
Diffstat (limited to 'main/qt5-qtbase/APKBUILD')
-rw-r--r-- | main/qt5-qtbase/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/main/qt5-qtbase/APKBUILD b/main/qt5-qtbase/APKBUILD index 6810bccbdf..33bf4bbfd5 100644 --- a/main/qt5-qtbase/APKBUILD +++ b/main/qt5-qtbase/APKBUILD @@ -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 } |