commit:     f3ddfdb6a90e7d424160bb00f9247eae88ee4a50
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 11 14:03:33 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Fri Jul 11 14:03:33 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=f3ddfdb6

[qt5-build] Let configure figure out reduced relocations support.

This should fix arm and ppc support (at least). See upstream bug
https://bugreports.qt-project.org/browse/QTBUG-36129

Thanks to Vladimir Smirnov <civil <AT> gentoo.org> for the heads-up.

---
 eclass/qt5-build.eclass | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 99ba8df..827bf78 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -496,13 +496,14 @@ qt5_base_configure() {
                # don't strip
                -no-strip
 
-               # precompiled headers aren't really useful for us
+               # precompiled headers are not that useful for us
                # and cause problems on hardened, so turn them off
                -no-pch
 
-               # reduce relocations in libraries through extra linker 
optimizations
-               # requires GNU ld >= 2.18
-               -reduce-relocations
+               # reduced relocations cause major breakage on at least arm and 
ppc, so we
+               # don't specify anything and let configure figure out if they 
are supported,
+               # see also https://bugreports.qt-project.org/browse/QTBUG-36129
+               #-reduce-relocations
 
                # disable all SQL drivers by default, override in qtsql
                -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc

Reply via email to