aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-08-27 05:09:29 +0200
committerDiego Biurrun <diego@biurrun.de>2012-08-27 20:37:48 +0200
commit8f7c26e39297c8ecc8670a04936e47fbfc33439b (patch)
tree48c1be47416a9ec95a8b08e028f3fbd5c447f9d0 /Makefile
parentd5683aba5a4ca142ce9d446b565f7310107872c3 (diff)
downloadffmpeg-8f7c26e39297c8ecc8670a04936e47fbfc33439b.tar.gz
build: Use portable abstraction for linker/hostcc output file syntax
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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