Skip to content

Commit

Permalink
games-emulation/libretro-dosbox: mark as LTO-unsafe, strict-aliasing …
Browse files Browse the repository at this point in the history
…unsafe

Yet another unmaintained dosbox fork inheriting the bugs of dosbox. No
point reporting.

Closes: https://bugs.gentoo.org/858707
Signed-off-by: Eli Schwartz <[email protected]>
  • Loading branch information
eli-schwartz committed Aug 9, 2024
1 parent f4b80d4 commit ac27373
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -13,6 +13,14 @@ LICENSE="GPL-2+"
SLOT="0"

src_compile() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/858707
#
# Yet another unmaintained dosbox fork inheriting the bugs of dosbox.
# No point reporting.
append-flags -fno-strict-aliasing
filter-lto

append-cxxflags -std=gnu++11
default
}
12 changes: 10 additions & 2 deletions games-emulation/libretro-dosbox/libretro-dosbox-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

LIBRETRO_REPO_NAME="libretro/dosbox-libretro"
inherit libretro-core flag-o-matic
inherit flag-o-matic libretro-core

DESCRIPTION="DOSBox libretro port"
LICENSE="GPL-2+"
SLOT="0"

src_compile() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/858707
#
# Yet another unmaintained dosbox fork inheriting the bugs of dosbox.
# No point reporting.
append-flags -fno-strict-aliasing
filter-lto

append-cxxflags -std=gnu++11
default
}

0 comments on commit ac27373

Please sign in to comment.