
31 Oct
2016
31 Oct
'16
2:27 p.m.
On 10/31/2016 02:15 PM, Stefan Müller-Klieser wrote:
When building the cross_tools target, HOSTCFLAGS and HOSTLDFLAGS will propagate to the target build. This should not happen and is easy to prevent.
Signed-off-by: Stefan Müller-Klieser s.mueller-klieser@phytec.de
+CC Masahiro Yamada-san .
tools/Makefile | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tools/Makefile b/tools/Makefile index 400588c..305336c 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -263,6 +263,8 @@ subdir- += env
ifneq ($(CROSS_BUILD_TOOLS),) HOSTCC = $(CC) +HOSTCFLAGS = $(CFLAGS) +HOSTLDFLAGS = $(LDFLAGS)
quiet_cmd_crosstools_strip = STRIP $^ cmd_crosstools_strip = $(STRIP) $^; touch $@
--
Best regards,
Marek Vasut