1 |
commit: 7db621ca2f8ef75a11f6d98086fd4c7c49ef37a9 |
2 |
Author: Randall <ran.dall <AT> icloud <DOT> com> |
3 |
AuthorDate: Sat Feb 26 17:21:55 2022 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 17:27:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db621ca |
7 |
|
8 |
app-containers/snapd: Handle -O3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/834055 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
app-containers/snapd/snapd-2.54.3.ebuild | 5 ++++- |
15 |
1 file changed, 4 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-containers/snapd/snapd-2.54.3.ebuild b/app-containers/snapd/snapd-2.54.3.ebuild |
18 |
index 6366a2d391fc..bf6b2a0a243e 100644 |
19 |
--- a/app-containers/snapd/snapd-2.54.3.ebuild |
20 |
+++ b/app-containers/snapd/snapd-2.54.3.ebuild |
21 |
@@ -4,7 +4,7 @@ |
22 |
EAPI=7 |
23 |
|
24 |
EGO_PN="github.com/snapcore/${PN}" |
25 |
-inherit autotools bash-completion-r1 golang-vcs-snapshot linux-info readme.gentoo-r1 systemd xdg-utils |
26 |
+inherit autotools bash-completion-r1 flag-o-matic golang-vcs-snapshot linux-info readme.gentoo-r1 systemd xdg-utils |
27 |
|
28 |
DESCRIPTION="Service and tools for management of snap packages" |
29 |
HOMEPAGE="http://snapcraft.io/" |
30 |
@@ -61,6 +61,9 @@ pkg_setup() { |
31 |
CONFIG_CHECK+=" ~SECURITY_APPARMOR" |
32 |
fi |
33 |
linux-info_pkg_setup |
34 |
+ |
35 |
+ # Seems to have issues building with -O3, switch to -O2 |
36 |
+ replace-flags -O3 -O2 |
37 |
} |
38 |
|
39 |
src_prepare() { |