From aa52bb1b8dedd9db585ea75e70ccbdc3d2bb2791 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 2 Nov 2019 13:38:00 +0100 Subject: 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 --- dev-qt/qtgui/qtgui-5.13.2.ebuild | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-65-gdbad