qt5-build.eclass: remove obsolete instruction sets workaround
authorJimi Huotari <chiitoo@gentoo.org>
Thu, 27 Dec 2018 20:26:49 +0000 (22:26 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 7 Feb 2019 22:08:58 +0000 (23:08 +0100)
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@gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/qt5-build.eclass

index 83f66220c735ceb2fd51f42dc7b9b009a08dce08..c6c08a6bd03e8a70de71c1ff5d281bc23441151e 100644 (file)
@@ -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)"