1 |
commit: ac27e57792ba26e4ff4c924c2202a0b180e7d384 |
2 |
Author: Cédric Krier <cedk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 26 09:54:57 2020 +0000 |
4 |
Commit: Cédric Krier <cedk <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 26 09:55:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac27e577 |
7 |
|
8 |
dev-vcs/mercurial: Make CFLAGS local before modification |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Cédric Krier <cedk <AT> gentoo.org> |
12 |
|
13 |
dev-vcs/mercurial/mercurial-5.2.2.ebuild | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-vcs/mercurial/mercurial-5.2.2.ebuild b/dev-vcs/mercurial/mercurial-5.2.2.ebuild |
17 |
index 339f1ec904c..e189226b04d 100644 |
18 |
--- a/dev-vcs/mercurial/mercurial-5.2.2.ebuild |
19 |
+++ b/dev-vcs/mercurial/mercurial-5.2.2.ebuild |
20 |
@@ -53,7 +53,7 @@ python_prepare_all() { |
21 |
|
22 |
python_compile() { |
23 |
strip-flags -ftracer -ftree-vectorize |
24 |
- python_is_python3 || append-flags -fno-strict-aliasing |
25 |
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" |
26 |
distutils-r1_python_compile build_ext --no-zstd |
27 |
} |