summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/racket/files/Makefile-starter.patch')
-rw-r--r--dev-scheme/racket/files/Makefile-starter.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-scheme/racket/files/Makefile-starter.patch b/dev-scheme/racket/files/Makefile-starter.patch
new file mode 100644
index 000000000000..1a6d527dd085
--- /dev/null
+++ b/dev-scheme/racket/files/Makefile-starter.patch
@@ -0,0 +1,32 @@
+index 771f13149e..f219acf1a7 100644
+--- a/bc/dynsrc/Makefile.in
++++ b/bc/dynsrc/Makefile.in
+@@ -22,6 +22,7 @@ PLAIN_CC = @PLAIN_CC@
+ CFLAGS = @CFLAGS@ @COMPFLAGS@
+ CPPFLAGS = @PREFLAGS@
+ ALL_CFLAGS = $(CFLAGS) $(CPPFLAGS) -I$(builddir)/.. -I$(srcdir)/../include -I$(srcdir)/../src -I$(srcdir)/../../version -I$(srcdir)/../../start @MZOPTIONS@
++LDFLAGS = @LDFLAGS@
+
+ dynlib@NOT_MINGW@:
+ $(MAKE) ../mzdyn.o
+@@ -61,7 +62,7 @@ dynexmpl.o: $(srcdir)/dynexmpl.c $(HEADERS)
+ $(PLAIN_CC) $(ALL_CFLAGS) -c $(srcdir)/dynexmpl.c -o dynexmpl.o
+
+ ../starter@NOT_MINGW@@EXE_SUFFIX@: $(srcdir)/../../start/ustart.c $(srcdir)/../../start/self_exe.inc
+- $(PLAIN_CC) $(ALL_CFLAGS) -o ../starter@EXE_SUFFIX@ $(srcdir)/../../start/ustart.c
++ $(PLAIN_CC) $(ALL_CFLAGS) $(LDFLAGS) -o ../starter@EXE_SUFFIX@ $(srcdir)/../../start/ustart.c
+
+ PARSE_CMDL = $(srcdir)/../../start/parse_cmdl.inc
+
+index 1413d1802e..f1135a6681 100644
+--- a/cs/c/Makefile.in
++++ b/cs/c/Makefile.in
+@@ -441,7 +441,7 @@ boot.o: $(srcdir)/boot.c $(srcdir)/../../rktio/rktio.inc $(srcdir)/boot.h
+ $(CC) $(CFLAGS) -c -o boot.o $(srcdir)/boot.c
+
+ starter@NOT_MINGW@: $(srcdir)/../../start/ustart.c $(srcdir)/../../start/self_exe.inc
+- $(CC) $(CFLAGS) -o starter $(srcdir)/../../start/ustart.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -o starter $(srcdir)/../../start/ustart.c
+
+
+ repack-install-libs: