commit: 2ed165f8daffdfe078a94eaf52e572f16b956401 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Fri Jun 28 06:44:55 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jun 28 12:57:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed165f8
net-analyzer/netdata: remove strict-aliasing / LTO workaround It was fixed upstream in the latest release: https://github.com/netdata/netdata/commit/cfae735749c22237f2fbeb6f5a55d33323ae39d7 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> net-analyzer/netdata/netdata-1.46.1.ebuild | 10 +--------- net-analyzer/netdata/netdata-9999.ebuild | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/net-analyzer/netdata/netdata-1.46.1.ebuild b/net-analyzer/netdata/netdata-1.46.1.ebuild index 725670699e12..2f9af0d43617 100644 --- a/net-analyzer/netdata/netdata-1.46.1.ebuild +++ b/net-analyzer/netdata/netdata-1.46.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python{3_9,3_10,3_11,3_12} ) -inherit cmake fcaps flag-o-matic linux-info optfeature python-single-r1 systemd +inherit cmake fcaps linux-info optfeature python-single-r1 systemd if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/netdata/${PN}.git" @@ -95,14 +95,6 @@ pkg_setup() { } src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/927174 - # https://github.com/netdata/netdata/issues/17321 - # - # Do not trust with LTO either. - append-flags -fno-strict-aliasing - filter-lto - local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE -DCMAKE_INSTALL_PREFIX=/ diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index 725670699e12..2f9af0d43617 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python{3_9,3_10,3_11,3_12} ) -inherit cmake fcaps flag-o-matic linux-info optfeature python-single-r1 systemd +inherit cmake fcaps linux-info optfeature python-single-r1 systemd if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/netdata/${PN}.git" @@ -95,14 +95,6 @@ pkg_setup() { } src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/927174 - # https://github.com/netdata/netdata/issues/17321 - # - # Do not trust with LTO either. - append-flags -fno-strict-aliasing - filter-lto - local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE -DCMAKE_INSTALL_PREFIX=/
