commit:     271730228bb4d0f0e824a3c9755ed9d178054198
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 10:37:36 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 10:37:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27173022

sys-process/numactl: disable -flto

Bug: https://bugs.gentoo.org/692254
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-process/numactl/numactl-2.0.12.ebuild | 9 +++++++--
 sys-process/numactl/numactl-2.0.13.ebuild | 7 ++++++-
 sys-process/numactl/numactl-9999.ebuild   | 7 ++++++-
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/sys-process/numactl/numactl-2.0.12.ebuild 
b/sys-process/numactl/numactl-2.0.12.ebuild
index 382d2e6496e..76fe335d673 100644
--- a/sys-process/numactl/numactl-2.0.12.ebuild
+++ b/sys-process/numactl/numactl-2.0.12.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit autotools toolchain-funcs multilib-minimal
+inherit autotools flag-o-matic toolchain-funcs multilib-minimal
 
 DESCRIPTION="Utilities and libraries for NUMA systems"
 HOMEPAGE="https://github.com/numactl/numactl";
@@ -26,6 +26,11 @@ PATCHES=(
 
 src_prepare() {
        default
+
+       # lto not supported yet
+       # gcc-9 with -flto leads to link failures: #692254
+       filter-flags -flto*
+
        eautoreconf
        # We need to copy the sources or else tests will fail
        multilib_copy_sources

diff --git a/sys-process/numactl/numactl-2.0.13.ebuild 
b/sys-process/numactl/numactl-2.0.13.ebuild
index e38e4a77477..6bcda4fcddb 100644
--- a/sys-process/numactl/numactl-2.0.13.ebuild
+++ b/sys-process/numactl/numactl-2.0.13.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools toolchain-funcs multilib-minimal
+inherit autotools flag-o-matic toolchain-funcs multilib-minimal
 
 DESCRIPTION="Utilities and libraries for NUMA systems"
 HOMEPAGE="https://github.com/numactl/numactl";
@@ -26,6 +26,11 @@ PATCHES=(
 
 src_prepare() {
        default
+
+       # lto not supported yet
+       # gcc-9 with -flto leads to link failures: #692254
+       filter-flags -flto*
+
        eautoreconf
        # We need to copy the sources or else tests will fail
        multilib_copy_sources

diff --git a/sys-process/numactl/numactl-9999.ebuild 
b/sys-process/numactl/numactl-9999.ebuild
index e38e4a77477..6bcda4fcddb 100644
--- a/sys-process/numactl/numactl-9999.ebuild
+++ b/sys-process/numactl/numactl-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools toolchain-funcs multilib-minimal
+inherit autotools flag-o-matic toolchain-funcs multilib-minimal
 
 DESCRIPTION="Utilities and libraries for NUMA systems"
 HOMEPAGE="https://github.com/numactl/numactl";
@@ -26,6 +26,11 @@ PATCHES=(
 
 src_prepare() {
        default
+
+       # lto not supported yet
+       # gcc-9 with -flto leads to link failures: #692254
+       filter-flags -flto*
+
        eautoreconf
        # We need to copy the sources or else tests will fail
        multilib_copy_sources

Reply via email to