gentoo/dev-scheme/scm/files/scm-5.5.6-respect-ldflags.patch
Ben Kohler 64d14f3a3d
dev-scheme/scm: fix bug 596630, partial LDFLAGS fix, EAPI=7
LDFLAGS are now respected on the main build but
not plugins yet.  Ebuild is also bumped to EAPI=7 and several unused
eclass inherits are removed.
Closes: https://bugs.gentoo.org/596630

Package-Manager: Portage-2.3.40, Repoman-2.3.9
2018-06-23 21:49:23 +02:00

12 lines
395 B
Diff

diff -ur b/Makefile a/Makefile
--- b/Makefile 2018-06-21 14:02:53.439716620 -0500
+++ a/Makefile 2018-06-21 14:03:33.900568504 -0500
@@ -111,7 +111,7 @@
# SCMLIT -- try making this first!
scmlit: $(ofiles) scmmain.o require.scm Makefile
- $(LD) -o scmlit $(ofiles) scmmain.o $(LIBS)
+ $(LD) $(LDFLAGS) -o scmlit $(ofiles) scmmain.o $(LIBS)
$(MAKE) checklit
scmflags.h: scmflags
scmflags: