From 8f7c26e39297c8ecc8670a04936e47fbfc33439b Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 27 Aug 2012 05:09:29 +0200 Subject: build: Use portable abstraction for linker/hostcc output file syntax --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d2aed23cd4..a2d89c5f68 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ FF_DEP_LIBS := $(DEP_LIBS) all: $(PROGS) $(TOOLS): %$(EXESUF): %.o - $(LD) $(LDFLAGS) -o $@ $< $(ELIBS) + $(LD) $(LDFLAGS) $(LD_O) $< $(ELIBS) tools/cws2fws$(EXESUF): ELIBS = -lz @@ -135,7 +135,7 @@ endef $(foreach P,$(PROGS-yes),$(eval $(call DOPROG,$(P)))) $(PROGS): %$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS) - $(LD) $(LDFLAGS) -o $@ $(OBJS-$*) cmdutils.o $(FF_EXTRALIBS) + $(LD) $(LDFLAGS) $(LD_O) $(OBJS-$*) cmdutils.o $(FF_EXTRALIBS) OBJDIRS += tools -- cgit v1.2.3