gentoo-ebuilds/games-emulation/libretro-dosbox/libretro-dosbox-0.0.1_pre20180723.ebuild
Eli Schwartz ac2737301f
games-emulation/libretro-dosbox: mark as LTO-unsafe, strict-aliasing 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 <eschwartz@gentoo.org>
2024-08-09 09:02:14 -04:00

26 lines
606 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
LIBRETRO_REPO_NAME="libretro/dosbox-libretro"
LIBRETRO_COMMIT_SHA="169d476437ec813b462a47254f24cf78473389c8"
KEYWORDS="~amd64 ~x86"
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
}