mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 14:07:34 +02:00
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.
This commit is contained in:
parent
d778af2a3b
commit
c746b3b238
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue