summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-02 13:38:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-02 16:22:31 +0100
commitaa52bb1b8dedd9db585ea75e70ccbdc3d2bb2791 (patch)
tree3d6b5b5646307b510f43c2982165e6f52308d46b
parentprofiles: arm: Promote media-video/pipewire to p.use.stable.mask (diff)
downloadgentoo-aa52bb1b8dedd9db585ea75e70ccbdc3d2bb2791.tar.gz
gentoo-aa52bb1b8dedd9db585ea75e70ccbdc3d2bb2791.tar.bz2
gentoo-aa52bb1b8dedd9db585ea75e70ccbdc3d2bb2791.zip
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 <asturm@gentoo.org>
-rw-r--r--dev-qt/qtgui/qtgui-5.13.2.ebuild2
1 files changed, 2 insertions, 0 deletions
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