projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66f4fe
)
tools/Makefile: fix HOSTCFLAGS with CROSS_BUILD_TOOLS
author
Fabrice Fontaine
<fontaine.fabrice@gmail.com>
Wed, 1 May 2019 13:08:25 +0000
(15:08 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 3 May 2019 11:30:31 +0000
(07:30 -0400)
When CROSS_BUILD_TOOLS is set, set HOSTCFLAGS to CFLAGS otherwise CC
will be used with HOSTCFLAGS which seems wrong
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
tools/Makefile
patch
|
blob
|
history
diff --git
a/tools/Makefile
b/tools/Makefile
index 12a3027e234e819ec7c01f75d51396abc101d702..eadeba417dcb33fac788ed0e1891c146f4176773 100644
(file)
--- a/
tools/Makefile
+++ b/
tools/Makefile
@@
-272,6
+272,7
@@
subdir- += env
ifneq ($(CROSS_BUILD_TOOLS),)
override HOSTCC = $(CC)
+override HOSTCFLAGS = $(CFLAGS)
quiet_cmd_crosstools_strip = STRIP $^
cmd_crosstools_strip = $(STRIP) $^; touch $@