mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-arcade/gav: respect LD
Much easier to just assume we're dealing with the compiler interface. Closes: https://bugs.gentoo.org/779976 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -44,12 +44,19 @@ src_prepare() {
|
||||
# Now, move the additional themes in the proper directory
|
||||
mv ../{fabeach,florindo,inverted,naive,unnamed,yisus,yisus2} themes || die
|
||||
|
||||
# no reason to have executable bit set on themes
|
||||
# No reason to have executable bit set on themes
|
||||
find themes -type f -exec chmod a-x '{}' \; || die
|
||||
|
||||
# Respect LD, bug #779976
|
||||
sed -i -e 's/LD = ld/LD ?= ld/' CommonHeader || die
|
||||
sed -i -e 's/$(LD)/& $(LDFLAGS)/' */Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
|
||||
# Nobody _really_ sets LD. Tell the compiler what to do instead.
|
||||
export LD="${CXX}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user