sys-apps/apparmor: respect CPP

Closes: https://bugs.gentoo.org/747571
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
This commit is contained in:
Michael Palimaka
2020-10-11 15:16:05 +11:00
parent 4863b80ab1
commit 488ef15aef
+5
View File
@@ -40,6 +40,11 @@ src_prepare() {
# remove warning about missing file that controls features
# we don't currently support
sed -e "/installation problem/ctrue" -i rc.apparmor.functions || die
# bug 634782
sed -e "s/cpp/$(tc-getCPP) -/" \
-i ../common/list_capabilities.sh \
-i ../common/list_af_names.sh || die
}
src_compile() {