From 7db621ca2f8ef75a11f6d98086fd4c7c49ef37a9 Mon Sep 17 00:00:00 2001 From: Randall Date: Sat, 26 Feb 2022 09:21:55 -0800 Subject: app-containers/snapd: Handle -O3 Closes: https://bugs.gentoo.org/834055 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico --- app-containers/snapd/snapd-2.54.3.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app-containers/snapd') diff --git a/app-containers/snapd/snapd-2.54.3.ebuild b/app-containers/snapd/snapd-2.54.3.ebuild index 6366a2d391fc..bf6b2a0a243e 100644 --- a/app-containers/snapd/snapd-2.54.3.ebuild +++ b/app-containers/snapd/snapd-2.54.3.ebuild @@ -4,7 +4,7 @@ EAPI=7 EGO_PN="github.com/snapcore/${PN}" -inherit autotools bash-completion-r1 golang-vcs-snapshot linux-info readme.gentoo-r1 systemd xdg-utils +inherit autotools bash-completion-r1 flag-o-matic golang-vcs-snapshot linux-info readme.gentoo-r1 systemd xdg-utils DESCRIPTION="Service and tools for management of snap packages" HOMEPAGE="http://snapcraft.io/" @@ -61,6 +61,9 @@ pkg_setup() { CONFIG_CHECK+=" ~SECURITY_APPARMOR" fi linux-info_pkg_setup + + # Seems to have issues building with -O3, switch to -O2 + replace-flags -O3 -O2 } src_prepare() { -- cgit v1.2.3-65-gdbad