summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2020-01-26 10:54:57 +0100
committerCédric Krier <cedk@gentoo.org>2020-01-26 10:55:17 +0100
commitac27e57792ba26e4ff4c924c2202a0b180e7d384 (patch)
tree98d875e27f8a746f472bd858d2f5023b0d326ae5 /dev-vcs
parentsys-kernel/vanilla-sources: Automated version bump to 5.4.15 - remove old. (diff)
downloadgentoo-ac27e57792ba26e4ff4c924c2202a0b180e7d384.tar.gz
gentoo-ac27e57792ba26e4ff4c924c2202a0b180e7d384.tar.bz2
gentoo-ac27e57792ba26e4ff4c924c2202a0b180e7d384.zip
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@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/mercurial/mercurial-5.2.2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-vcs/mercurial/mercurial-5.2.2.ebuild b/dev-vcs/mercurial/mercurial-5.2.2.ebuild
index 339f1ec904c2..e189226b04d1 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
}