summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-06-30 14:24:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-30 14:24:32 +0200
commit7ac535cddc29c859a60b4ed37860e7e0f845fc14 (patch)
treec56ebe70eb6bc684bd5d9e88ef205961c4eb54f2 /scripts
parent5ee472660fda85906d94e1d5837cbfef2101678b (diff)
parent4f7f8a19e84978bb09752c978f257f5259f159bb (diff)
downloadbarebox-7ac535cddc29c859a60b4ed37860e7e0f845fc14.tar.gz
barebox-7ac535cddc29c859a60b4ed37860e7e0f845fc14.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.host2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.host b/scripts/Makefile.host
index 133edfae5b..a89a0c5d43 100644
--- a/scripts/Makefile.host
+++ b/scripts/Makefile.host
@@ -85,7 +85,7 @@ hostcxx_flags = -Wp,-MD,$(depfile) $(__hostcxx_flags)
# Create executable from a single .c file
# host-csingle -> Executable
quiet_cmd_host-csingle = HOSTCC $@
- cmd_host-csingle = $(HOSTCC) $(hostc_flags) -o $@ $< \
+ cmd_host-csingle = $(HOSTCC) $(hostc_flags) $(HOSTLDFLAGS) -o $@ $< \
$(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F))
$(host-csingle): $(obj)/%: $(src)/%.c FORCE
$(call if_changed_dep,host-csingle)