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>
This commit is contained in:
Andreas Sturmlechner
2019-11-02 13:38:00 +01:00
parent a421d8f2d1
commit aa52bb1b8d

View File

@@ -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