commit: 4200dd6f56df960800718dae10d37ef5c04e972c Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Thu Jul 11 03:57:12 2024 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Thu Jul 11 16:28:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4200dd6f
dev-lang/gdl: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/930966 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-lang/gdl/gdl-1.0.4-r1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-lang/gdl/gdl-1.0.4-r1.ebuild b/dev-lang/gdl/gdl-1.0.4-r1.ebuild index 37797d0e9d71..e0d6af34f1d0 100644 --- a/dev-lang/gdl/gdl-1.0.4-r1.ebuild +++ b/dev-lang/gdl/gdl-1.0.4-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 WX_GTK_VER="3.2-gtk3" PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake python-single-r1 toolchain-funcs virtualx wxwidgets +inherit cmake flag-o-matic python-single-r1 toolchain-funcs virtualx wxwidgets DESCRIPTION="GNU Data Language" HOMEPAGE="https://github.com/gnudatalanguage/gdl" @@ -96,6 +96,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/930966 + # https://github.com/gnudatalanguage/gdl/issues/1852 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + # MPI is still very buggy # x11=off does not compile local mycmakeargs=(
