diff options
author | Nicolas Thill <nico@openwrt.org> | 2014-02-18 22:11:24 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2014-02-18 22:11:24 +0000 |
commit | ece85d2d259713ba4c345152ab5747342b747688 (patch) | |
tree | 2b1bf6a116eca5b701d553ed1bead15394ebe40b /package/boot/uboot-envtools/patches | |
parent | 97faa098a2d03e4e7bb72f8b111cbb9afe90512e (diff) | |
download | mtk-20170518-ece85d2d259713ba4c345152ab5747342b747688.zip mtk-20170518-ece85d2d259713ba4c345152ab5747342b747688.tar.gz mtk-20170518-ece85d2d259713ba4c345152ab5747342b747688.tar.bz2 |
uboot-envtools: pass target cflags
SVN-Revision: 39629
Diffstat (limited to 'package/boot/uboot-envtools/patches')
-rw-r--r-- | package/boot/uboot-envtools/patches/001-honor_opt_flags.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/patches/001-honor_opt_flags.patch b/package/boot/uboot-envtools/patches/001-honor_opt_flags.patch new file mode 100644 index 0000000..16c3920 --- /dev/null +++ b/package/boot/uboot-envtools/patches/001-honor_opt_flags.patch @@ -0,0 +1,12 @@ +--- a/config.mk ++++ b/config.mk +@@ -62,7 +62,8 @@ PLATFORM_LDFLAGS = + + ######################################################################### + +-HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \ ++HOSTOPTFLAGS = -O2 -fomit-frame-pointer ++HOSTCFLAGS = -Wall -Wstrict-prototypes $(HOSTOPTFLAGS) \ + $(HOSTCPPFLAGS) + HOSTSTRIP = strip + |