mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-scheme/racket: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958190 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
parent
44f7c07b9e
commit
0138a15808
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit check-reqs desktop optfeature toolchain-funcs readme.gentoo-r1
|
||||
inherit check-reqs desktop dot-a optfeature toolchain-funcs readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
|
||||
HOMEPAGE="https://racket-lang.org/
|
||||
@ -103,6 +103,7 @@ src_configure() {
|
||||
# --enable-libs & --disable-shared is the way to build
|
||||
# .a files that are needed to embed Racket into programs
|
||||
# https://docs.racket-lang.org/inside/cs-embedding.html
|
||||
lto-guarantee-fat
|
||||
local -a myconf=(
|
||||
--disable-shared
|
||||
--disable-strip
|
||||
@ -146,6 +147,8 @@ src_install() {
|
||||
# Install Zuo.
|
||||
emake -C zuo DESTDIR="${ED}" install
|
||||
|
||||
strip-lto-bytecode
|
||||
|
||||
# raco needs decompressed files for packages doc installation, bug #662424
|
||||
if use doc ; then
|
||||
docompress -x "/usr/share/doc/${PF}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user