X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/771b5bebc24a7ff664a7ee9bf78b75f90238aa6b..1047651f0e2ddb05e84a4297dceb100741918146:/tools/firmware-utils/Makefile?ds=inline diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile index 46fc40c37..cd7531f21 100644 --- a/tools/firmware-utils/Makefile +++ b/tools/firmware-utils/Makefile @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/kernel.mk define cc - $(CC) $(HOST_CFLAGS) -include endian.h -o $(HOST_BUILD_DIR)/bin/$(firstword $(1)) $(foreach src,$(1),src/$(src).c) $(2) + $(HOSTCC) $(HOST_CFLAGS) -include endian.h -o $(HOST_BUILD_DIR)/bin/$(firstword $(1)) $(foreach src,$(1),src/$(src).c) $(2) endef define Host/Compile