diff --git a/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21-r1.ebuild b/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21-r1.ebuild index f03cf1b303bbe..ad249861ca1a8 100644 --- a/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21-r1.ebuild +++ b/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-2018_p12_p21-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Analysis tools for Multipath Transmission Control Protocol (MPTCP)" HOMEPAGE="https://github.com/nasa/multipath-tcp-tools" @@ -31,6 +31,9 @@ src_prepare() { } src_compile() { + # bug #861179 + append-flags -fno-strict-aliasing + emake \ CXX="$(tc-getCXX)" \ CXXFLAGS="${CXXFLAGS}" diff --git a/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-999999.ebuild b/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-999999.ebuild index ba36c687bf3f4..3178d81adff6f 100644 --- a/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-999999.ebuild +++ b/net-analyzer/multipath-tcp-tools/multipath-tcp-tools-999999.ebuild @@ -1,8 +1,8 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit git-r3 toolchain-funcs +inherit git-r3 flag-o-matic toolchain-funcs DESCRIPTION="Analysis tools for Multipath Transmission Control Protocol (MPTCP)" HOMEPAGE="https://github.com/nasa/multipath-tcp-tools" @@ -31,6 +31,9 @@ src_prepare() { } src_compile() { + # bug #861179 + append-flags -fno-strict-aliasing + emake \ CXX="$(tc-getCXX)" \ CXXFLAGS="${CXXFLAGS}"