From: Andreas Sturmlechner Date: Sat, 2 Nov 2019 12:38:00 +0000 (+0100) Subject: dev-qt/qtgui: Fix build with CXXFLAGS="-march=native" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa52bb1b8dedd9db585ea75e70ccbdc3d2bb2791;p=gentoo.git dev-qt/qtgui: Fix build with CXXFLAGS="-march=native" 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 --- diff --git a/dev-qt/qtgui/qtgui-5.13.2.ebuild b/dev-qt/qtgui/qtgui-5.13.2.ebuild index 480c023a6110..6bec13c736d1 100644 --- a/dev-qt/qtgui/qtgui-5.13.2.ebuild +++ b/dev-qt/qtgui/qtgui-5.13.2.ebuild @@ -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