diff options
author | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | 2018-07-06 23:20:08 +0800 |
---|---|---|
committer | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | 2018-07-06 23:20:08 +0800 |
commit | aba0c7ae8e72176ab8e12b8da1c29863afd2e62f (patch) | |
tree | 201e71995b2c78c204c3289aced5539dbc28cfc7 /tools | |
parent | 0a15eb9cac9c179289b5837d252c37fa515ac2c8 (diff) |
tools/cert_create: fix makefile to build build_msg.o by HOSTCC
Previously build_msg.o is built by CC. It causes FTBFS when CC
is not equal to HOSTCC.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cert_create/Makefile | 2 |
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 |