uboot-envtools: update to 2018.03
[openwrt/openwrt.git] / package / boot / uboot-envtools / patches / 001-compile.patch
index 17059797650fd7ff080098699db8cfc5b3dd4d57..f7ec9130d6f49ac9895f10e593530a241b2c316d 100644 (file)
@@ -2,7 +2,7 @@
 +++ b/tools/env/Makefile
 @@ -10,6 +10,10 @@
  # with "CC" here for the maximum code reuse of scripts/Makefile.host.
- HOSTCC = $(CC)
override HOSTCC = $(CC)
  
 +ifneq ($(TARGET_CFLAGS),)
 +HOSTCFLAGS = $(TARGET_CFLAGS)