projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uboot-envtools: update to 2018.03
[openwrt/staging/dedeckeh.git]
/
package
/
boot
/
uboot-envtools
/
patches
/
001-compile.patch
diff --git
a/package/boot/uboot-envtools/patches/001-compile.patch
b/package/boot/uboot-envtools/patches/001-compile.patch
index 17059797650fd7ff080098699db8cfc5b3dd4d57..f7ec9130d6f49ac9895f10e593530a241b2c316d 100644
(file)
--- a/
package/boot/uboot-envtools/patches/001-compile.patch
+++ b/
package/boot/uboot-envtools/patches/001-compile.patch
@@
-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)