diff options
author | dp-arm <dimitris.papastamos@arm.com> | 2017-05-02 11:09:11 +0100 |
---|---|---|
committer | dp-arm <dimitris.papastamos@arm.com> | 2017-05-24 14:24:49 +0100 |
commit | 72610c4102990d4f17bd654acad9a415733f795b (patch) | |
tree | 41e915c7f30006b248434119f70cdc05d26c130e /Makefile | |
parent | 344af65608262b9ee9d71617c5f5e087c82bd7c4 (diff) |
build: Introduce HOSTCC flag
Tools are built using the compiler specified in `HOSTCC` instead of
reusing the `CC` variable. By default, gcc is used.
Change-Id: I83636a375c61f4804b4e80784db9d061fe20af87
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -113,6 +113,9 @@ endif # Toolchain ################################################################################ +HOSTCC := gcc +export HOSTCC + CC := ${CROSS_COMPILE}gcc CPP := ${CROSS_COMPILE}cpp AS := ${CROSS_COMPILE}gcc |