aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2018-07-09 13:14:42 +0100
committerGitHub <noreply@github.com>2018-07-09 13:14:42 +0100
commitbcf50ed0e715974803b47eaf1cc04f2dd1805676 (patch)
tree7b002b39aa7684cde6f14816c9846ecb4fbba091
parentb6c07bbb2ed520f0b51775adb5d22b294d6971eb (diff)
parentaba0c7ae8e72176ab8e12b8da1c29863afd2e62f (diff)
downloadplatform_external_arm-trusted-firmware-bcf50ed0e715974803b47eaf1cc04f2dd1805676.tar.gz
platform_external_arm-trusted-firmware-bcf50ed0e715974803b47eaf1cc04f2dd1805676.tar.bz2
platform_external_arm-trusted-firmware-bcf50ed0e715974803b47eaf1cc04f2dd1805676.zip
Merge pull request #1468 from grandpaul/paulliu-fix-cert-create-ftbfs
tools/cert_create: fix makefile to build build_msg.o by HOSTCC
-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 8a1958ffa..7b10e3e30 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