summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/cert_create/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cert_create/Makefile b/tools/cert_create/Makefile
index 8a1958ff..7b10e3e3 100644
--- a/tools/cert_create/Makefile
+++ b/tools/cert_create/Makefile
@@ -75,7 +75,7 @@ ${BINARY}: ${OBJECTS} Makefile
@echo " LD $@"
@echo 'const char build_msg[] = "Built : "__TIME__", "__DATE__; \
const char platform_msg[] = "${PLAT_MSG}";' | \
- ${CC} -c ${CFLAGS} -xc - -o src/build_msg.o
+ ${HOSTCC} -c ${CFLAGS} -xc - -o src/build_msg.o
${Q}${HOSTCC} src/build_msg.o ${OBJECTS} ${LIB_DIR} ${LIB} -o $@
%.o: %.c