commit:     ac27e57792ba26e4ff4c924c2202a0b180e7d384
Author:     Cédric Krier <cedk <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 09:54:57 2020 +0000
Commit:     Cédric Krier <cedk <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 09:55:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac27e577

dev-vcs/mercurial: Make CFLAGS local before modification

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Cédric Krier <cedk <AT> gentoo.org>

 dev-vcs/mercurial/mercurial-5.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/mercurial/mercurial-5.2.2.ebuild 
b/dev-vcs/mercurial/mercurial-5.2.2.ebuild
index 339f1ec904c..e189226b04d 100644
--- a/dev-vcs/mercurial/mercurial-5.2.2.ebuild
+++ b/dev-vcs/mercurial/mercurial-5.2.2.ebuild
@@ -53,7 +53,7 @@ python_prepare_all() {
 
 python_compile() {
        strip-flags -ftracer -ftree-vectorize
-       python_is_python3 || append-flags -fno-strict-aliasing
+       python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
        distutils-r1_python_compile build_ext --no-zstd
 }
 

Reply via email to