Skip to content
Snippets Groups Projects
Commit 7494b7c4 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/qt5-qtbase: disable reduce-relocations

gcc5 and PIE does not work well with reduce relocations
https://bugs.archlinux.org/task/45283
parent d6b01878
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ _ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_V=${_ver/rc/RC}
pkgrel=0
pkgrel=1
pkgdesc="Qt5 - QtBase components"
url="http://qt-project.org/"
arch="all"
......@@ -79,11 +79,6 @@ build() {
cd "$_builddir"
case "$CTARGET" in
arm*) _arch="";;
*) _arch="-reduce-relocations";;
esac
./configure -confirm-license -opensource \
-archdatadir "$_qt5_prefix" \
-bindir "$_qt5_prefix"/bin \
......@@ -120,7 +115,7 @@ build() {
-system-xcb \
-system-zlib \
-translationdir "$_qt5_datadir"/translations \
$_arch \
-no-reduce-relocations \
|| return 1
make || return 1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment