|
@@ -84,7 +84,7 @@ hostcxx_flags = -Wp,-MD,$(depfile) $(__hostcxx_flags)
|
|
# Create executable from a single .c file
|
|
# Create executable from a single .c file
|
|
# host-csingle -> Executable
|
|
# host-csingle -> Executable
|
|
quiet_cmd_host-csingle = HOSTCC $@
|
|
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_LOADLIBES) $(HOSTLOADLIBES_$(@F))
|
|
$(host-csingle): $(obj)/%: $(src)/%.c FORCE
|
|
$(host-csingle): $(obj)/%: $(src)/%.c FORCE
|
|
$(call if_changed_dep,host-csingle)
|
|
$(call if_changed_dep,host-csingle)
|