mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
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>
This commit is contained in:
parent
0a15eb9cac
commit
aba0c7ae8e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue