aboutsummaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorDiego Biurrun2013-11-10 22:19:07 +0100
committerDiego Biurrun2013-11-15 01:29:47 +0100
commite8fcdebb17fc59375fd9fc6c0a02a1d2e6d9fb23 (patch)
treeba1054115d1cbc8df6e07585a40e1c19995649f8 /common.mak
parent9eda9d3322a6ea91830a754f2edee222adae7e67 (diff)
build: Allow specifying extra object files when linking HOSTPROGS
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mak b/common.mak
index 41ef235db7..01c4b63748 100644
--- a/common.mak
+++ b/common.mak
@@ -42,7 +42,7 @@ $(HOSTOBJS): %.o: %.c
$(call COMPILE,HOSTCC)
$(HOSTPROGS): %$(HOSTEXESUF): %.o
- $(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $< $(HOSTLIBS)
+ $(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTLIBS)
$(OBJS): | $(sort $(dir $(OBJS)))
$(HOBJS): | $(sort $(dir $(HOBJS)))