From 9512755c2ce7e3452c92d9a69a5bb610cdee4139 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 25 Sep 2014 14:18:34 +0200 Subject: [PATCH] Use LDFLAGS when linking. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fd72e01..29af96b 100644 --- a/Makefile +++ b/Makefile @@ -45,10 +45,10 @@ build/libmujs.a: $(OBJS) 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)