commit:     35ec5628b90bdc7ad6bb8ccc9e603100ad642cd9
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 27 20:26:49 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb  7 22:08:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35ec5628

qt5-build.eclass: remove obsolete instruction sets workaround

This has seemingly been broken since 2017-08-02, where things
were moved around [1], and now causes build failures as the
directory has been removed completely [2].

1. https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f54f7d84
2. https://code.qt.io/cgit/qt/qtbase.git/commit/?id=73b87697

Bug: https://bugs.gentoo.org/552942
Bug: https://bugs.gentoo.org/672946
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/qt5-build.eclass | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 83f66220c73..c6c08a6bd03 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -178,11 +178,6 @@ qt5-build_src_prepare() {
                sed -i -e "/^QMAKE_CONF_COMPILER=/ s:=.*:=\"$(tc-getCXX)\":" \
                        configure || die "sed failed (QMAKE_CONF_COMPILER)"
 
-               # Don't inject -msse/-mavx/... into CXXFLAGS when detecting
-               # compiler support for extended instruction sets (bug 552942)
-               find config.tests/common -name '*.pro' -type f -execdir \
-                       sed -i -e '/QMAKE_CXXFLAGS\s*+=/ d' '{}' + || die
-
                # Don't add -O3 to CXXFLAGS (bug 549140)
                sed -i -e '/CONFIG\s*+=/ s/optimize_full//' \
                        src/{corelib/corelib,gui/gui}.pro || die "sed failed 
(optimize_full)"

Reply via email to