net-analyzer/multipath-tcp-tools: disable strict aliasing

Closes: https://bugs.gentoo.org/861179
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-07-26 09:57:15 +01:00
parent b6cca1189d
commit d5b6f775ea
2 changed files with 10 additions and 4 deletions
@@ -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}"
@@ -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}"