diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-21 22:08:47 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-22 05:31:51 +0000 |
commit | c5bae0eccbd80a162b0ac3f0abb31d5501e17b16 (patch) | |
tree | 9ded4dbfc3d431d5d2ee72f2dc4a05d7de23a3eb /games-engines | |
parent | dev-util/ruff: add 0.3.4 (diff) | |
download | gentoo-c5bae0eccbd80a162b0ac3f0abb31d5501e17b16.tar.gz gentoo-c5bae0eccbd80a162b0ac3f0abb31d5501e17b16.tar.bz2 gentoo-c5bae0eccbd80a162b0ac3f0abb31d5501e17b16.zip |
games-engines/scummvm-tools: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/926081
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/scummvm-tools/scummvm-tools-2.7.0_p1.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/games-engines/scummvm-tools/scummvm-tools-2.7.0_p1.ebuild b/games-engines/scummvm-tools/scummvm-tools-2.7.0_p1.ebuild index d06380eb0491..a07c2c9e3434 100644 --- a/games-engines/scummvm-tools/scummvm-tools-2.7.0_p1.ebuild +++ b/games-engines/scummvm-tools/scummvm-tools-2.7.0_p1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 WX_GTK_VER="3.2-gtk3" -inherit desktop toolchain-funcs wxwidgets xdg +inherit desktop flag-o-matic toolchain-funcs wxwidgets xdg DESCRIPTION="Utilities for the SCUMM game engine" HOMEPAGE="https://www.scummvm.org/" @@ -51,6 +51,12 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing, -Werror=odr + # https://bugs.gentoo.org/926081 + # https://bugs.scummvm.org/ticket/15039 + append-flags -fno-strict-aliasing + filter-lto + setup-wxwidgets tc-export CXX STRINGS |