summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-09-15 18:44:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-09-15 18:51:41 +0200
commit6a12587ba46aa919fd396195faa5d4ec784c5327 (patch)
tree4d1499f5b03f2e6c412612d3e7a2fbba36aacf52 /dev-qt
parentmedia-gfx/krita: Drop 4.2.5 (diff)
downloadgentoo-6a12587ba46aa919fd396195faa5d4ec784c5327.tar.gz
gentoo-6a12587ba46aa919fd396195faa5d4ec784c5327.tar.bz2
gentoo-6a12587ba46aa919fd396195faa5d4ec784c5327.zip
dev-qt/qtgui: Fix build with CXXFLAGS="-march=native"
Old fix from 5.12.1 still applies. Reported-by: PhobosK <phobosk@fastmail.fm> Bug: https://bugs.gentoo.org/672946 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtgui/qtgui-5.12.5.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-qt/qtgui/qtgui-5.12.5.ebuild b/dev-qt/qtgui/qtgui-5.12.5.ebuild
index aa6a1274d22..c8c5675f6c3 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