mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
media-libs/libsdl2: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Especially important because of libSDL2_test.a. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
066db17f06
commit
af83cdda13
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake-multilib flag-o-matic
|
||||
inherit cmake-multilib dot-a flag-o-matic
|
||||
|
||||
MY_P="SDL2-${PV}"
|
||||
DESCRIPTION="Simple Direct Media Layer"
|
||||
@ -121,6 +121,7 @@ src_prepare() {
|
||||
|
||||
src_configure() {
|
||||
use custom-cflags || strip-flags
|
||||
lto-guarantee-fat
|
||||
|
||||
local mycmakeargs=(
|
||||
-DSDL_STATIC=$(usex static-libs)
|
||||
@ -211,4 +212,5 @@ multilib_src_install_all() {
|
||||
rm -r "${ED}"/usr/share/licenses/ || die
|
||||
dodoc {BUGS,CREDITS,README-SDL,TODO,WhatsNew}.txt README.md docs/README*.md
|
||||
use doc && dodoc -r docs/output/html/
|
||||
strip-lto-bytecode
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user