ref: 9512755c2ce7e3452c92d9a69a5bb610cdee4139
parent: aba272ac959329476ce73bc7d69d14ad7779c754
author: Tor Andersson <tor.andersson@artifex.com>
date: Thu Sep 25 10:18:34 EDT 2014
Use LDFLAGS when linking.
--- a/Makefile
+++ b/Makefile
@@ -45,10 +45,10 @@
ar cru $@ $^
build/mujs: build/main.o build/libmujs.a
- $(CC) -o $@ $^ -lm
+ $(CC) $(LDFLAGS) -o $@ $^ -lm
build/mujsone: build/main.o build/one.o
- $(CC) -o $@ $^ -lm
+ $(CC) $(LDFLAGS) -o $@ $^ -lm
install: release
install -d $(DESTDIR)$(incdir)