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 <zmedico@gentoo.org>
This commit is contained in:
Randall
2022-02-26 09:21:55 -08:00
committed by Zac Medico
parent bdb2ee5655
commit 7db621ca2f

View File

@@ -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() {