From 91aa953df9cac2e18ad13a4108258419154fada3 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 18 Jun 2022 16:52:57 +0200 Subject: dev-qt/qtdeclarative: Replace -Os with -O2 Closes: https://bugs.gentoo.org/840861 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner --- dev-qt/qtdeclarative/qtdeclarative-5.15.5.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dev-qt') diff --git a/dev-qt/qtdeclarative/qtdeclarative-5.15.5.ebuild b/dev-qt/qtdeclarative/qtdeclarative-5.15.5.ebuild index 485344e04b98..06fc4e064066 100644 --- a/dev-qt/qtdeclarative/qtdeclarative-5.15.5.ebuild +++ b/dev-qt/qtdeclarative/qtdeclarative-5.15.5.ebuild @@ -5,7 +5,7 @@ EAPI=8 QT5_KDEPATCHSET_REV=1 PYTHON_COMPAT=( python3_{8..10} ) -inherit python-any-r1 qt5-build +inherit flag-o-matic python-any-r1 qt5-build DESCRIPTION="The QML and Quick modules for the Qt5 framework" @@ -48,6 +48,8 @@ src_prepare() { } src_configure() { + replace-flags "-Os" "-O2" # bug 840861 + local myqmakeargs=( -- -qml-debug -- cgit v1.2.3-65-gdbad