mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user