From 6a12587ba46aa919fd396195faa5d4ec784c5327 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 15 Sep 2019 18:44:13 +0200 Subject: dev-qt/qtgui: Fix build with CXXFLAGS="-march=native" Old fix from 5.12.1 still applies. Reported-by: PhobosK Bug: https://bugs.gentoo.org/672946 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner --- dev-qt/qtgui/qtgui-5.12.5.ebuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dev-qt') diff --git a/dev-qt/qtgui/qtgui-5.12.5.ebuild b/dev-qt/qtgui/qtgui-5.12.5.ebuild index aa6a1274d224..c8c5675f6c31 100644 --- a/dev-qt/qtgui/qtgui-5.12.5.ebuild +++ b/dev-qt/qtgui/qtgui-5.12.5.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