From c746b3b23871fcf2e19fda775659a7259c432645 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sat, 5 Apr 2014 21:58:09 +0000 Subject: [PATCH] Use LDFLAGS when building chibi-scheme executable This allows users or distributions to pass in additional LDFLAGS in the usual place, such as the hardening flags applied by many distributions. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a793fca7..8c866d2e 100644 --- a/Makefile +++ b/Makefile @@ -113,7 +113,7 @@ libchibi-scheme.a: $(SEXP_OBJS) $(EVAL_OBJS) $(AR) rcs $@ $^ chibi-scheme$(EXE): main.o libchibi-scheme$(SO) - $(CC) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. -lchibi-scheme + $(CC) $(XCPPFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ $< -L. -lchibi-scheme chibi-scheme-static$(EXE): main.o $(SEXP_OBJS) $(EVAL_OBJS) $(CC) $(XCFLAGS) $(STATICFLAGS) -o $@ $^ $(LDFLAGS) $(GCLDFLAGS) -lm