dev-qt/qtgui: Fix build with CXXFLAGS="-march=native"
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 2 Nov 2019 12:38:00 +0000 (13:38 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 2 Nov 2019 15:22:31 +0000 (16:22 +0100)
Old fix from 5.12.1 still applies.

Bug: https://bugs.gentoo.org/672946
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-qt/qtgui/qtgui-5.13.2.ebuild

index 480c023a6110f48511e684d8b1f43265850b3dad..6bec13c736d101152501b23e727d2f5c0e798483 100644 (file)
@@ -124,6 +124,8 @@ QT5_GENTOO_PRIVATE_CONFIG=(
        :gui
 )
 
+PATCHES+=( "${FILESDIR}/qt-5.12-gcc-avx2.patch" ) # bug 672946
+
 src_prepare() {
        # don't add -O3 to CXXFLAGS, bug 549140
        sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/gui/gui.pro || die