mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-strategy/endless-sky: hopefully fix tests without -flto
Upstream defaults to -flto, but we yank it to let users set as wanted. Simplest seem to be to just let the libraries get used. Closes: https://bugs.gentoo.org/894702 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -36,6 +36,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.9.14-no-games-path.patch
|
||||
"${FILESDIR}"/${PN}-0.9.14-dont-compress-man-page.patch
|
||||
"${FILESDIR}"/${PN}-0.9.16.1-respect-cflags.patch
|
||||
"${FILESDIR}"/${PN}-0.9.16.1-test-libs.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
Even if not actually used, ensure all symbols are available when linking
|
||||
tests to handle cases where unused symbols were not optimized out.
|
||||
https://bugs.gentoo.org/894702
|
||||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -172,4 +172,2 @@
|
||||
CPPPATH=(env.get('CPPPATH', []) + [pathjoin('tests', 'unit', 'include')]),
|
||||
- # Do not link against the actual implementations of SDL, OpenGL, etc.
|
||||
- LIBS=sys_libs,
|
||||
# Pass the necessary link flags for a console program.
|
||||
Reference in New Issue
Block a user