From: Cédric Krier Date: Sun, 15 Mar 2020 10:24:28 +0000 (+0100) Subject: dev-vcs/mercurial: Use filter-flags instead of strip-flags X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a0eb5cfdc61e517ac28c13cd3832e92b96fd1a3;p=gentoo.git dev-vcs/mercurial: Use filter-flags instead of strip-flags Closes: https://bugs.gentoo.org/712594 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Cédric Krier --- diff --git a/dev-vcs/mercurial/mercurial-4.6.2.ebuild b/dev-vcs/mercurial/mercurial-4.6.2.ebuild index 135710a8f27a..1c5db61c0499 100644 --- a/dev-vcs/mercurial/mercurial-4.6.2.ebuild +++ b/dev-vcs/mercurial/mercurial-4.6.2.ebuild @@ -41,7 +41,7 @@ python_prepare_all() { } python_configure_all() { - strip-flags # was '-ftracer -ftree-vectorize', TODO: see bug #712594 + filter-flags -ftracer -ftree-vectorize # Note: make it impl-conditional if py3 is supported append-flags -fno-strict-aliasing diff --git a/dev-vcs/mercurial/mercurial-4.9-r2.ebuild b/dev-vcs/mercurial/mercurial-4.9-r2.ebuild index 25fa556dc7ae..a878d8730ad6 100644 --- a/dev-vcs/mercurial/mercurial-4.9-r2.ebuild +++ b/dev-vcs/mercurial/mercurial-4.9-r2.ebuild @@ -49,7 +49,7 @@ python_prepare_all() { } python_configure_all() { - strip-flags # was '-ftracer -ftree-vectorize', TODO: see bug #712594 + filter-flags -ftracer -ftree-vectorize # Note: make it impl-conditional if py3 is supported append-flags -fno-strict-aliasing diff --git a/dev-vcs/mercurial/mercurial-4.9.1.ebuild b/dev-vcs/mercurial/mercurial-4.9.1.ebuild index c50921ab4f38..435caf12f6ea 100644 --- a/dev-vcs/mercurial/mercurial-4.9.1.ebuild +++ b/dev-vcs/mercurial/mercurial-4.9.1.ebuild @@ -49,7 +49,7 @@ python_prepare_all() { } python_configure_all() { - strip-flags # was '-ftracer -ftree-vectorize', TODO: see bug #712594 + filter-flags -ftracer -ftree-vectorize # Note: make it impl-conditional if py3 is supported append-flags -fno-strict-aliasing diff --git a/dev-vcs/mercurial/mercurial-5.0.2.ebuild b/dev-vcs/mercurial/mercurial-5.0.2.ebuild index 8e116e668203..117dc6be168c 100644 --- a/dev-vcs/mercurial/mercurial-5.0.2.ebuild +++ b/dev-vcs/mercurial/mercurial-5.0.2.ebuild @@ -49,7 +49,7 @@ python_prepare_all() { } python_configure_all() { - strip-flags # was '-ftracer -ftree-vectorize', TODO: see bug #712594 + filter-flags -ftracer -ftree-vectorize # Note: make it impl-conditional if py3 is supported append-flags -fno-strict-aliasing diff --git a/dev-vcs/mercurial/mercurial-5.1.2.ebuild b/dev-vcs/mercurial/mercurial-5.1.2.ebuild index 24db3c875e13..88464e063967 100644 --- a/dev-vcs/mercurial/mercurial-5.1.2.ebuild +++ b/dev-vcs/mercurial/mercurial-5.1.2.ebuild @@ -49,7 +49,7 @@ python_prepare_all() { } python_configure_all() { - strip-flags # was '-ftracer -ftree-vectorize', TODO: see bug #712594 + filter-flags -ftracer -ftree-vectorize # Note: make it impl-conditional if py3 is supported append-flags -fno-strict-aliasing diff --git a/dev-vcs/mercurial/mercurial-5.2.2-r1.ebuild b/dev-vcs/mercurial/mercurial-5.2.2-r1.ebuild index 5ee7bb5b45f8..6cf8acb5c9cc 100644 --- a/dev-vcs/mercurial/mercurial-5.2.2-r1.ebuild +++ b/dev-vcs/mercurial/mercurial-5.2.2-r1.ebuild @@ -55,7 +55,7 @@ python_prepare_all() { } python_compile() { - strip-flags # was '-ftracer -ftree-vectorize', TODO: see bug #712594 + filter-flags -ftracer -ftree-vectorize python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" distutils-r1_python_compile build_ext --no-zstd } diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild index 6a75f6d2818d..a62bf9062fdc 100644 --- a/dev-vcs/mercurial/mercurial-9999.ebuild +++ b/dev-vcs/mercurial/mercurial-9999.ebuild @@ -57,7 +57,7 @@ python_prepare_all() { } python_compile() { - strip-flags # was '-ftracer -ftree-vectorize', TODO: see bug #712594 + filter-flags -ftracer -ftree-vectorize python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" distutils-r1_python_compile build_ext --no-zstd }