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 | e386a2e3ae4a1bbcd5dd76630e45492d493c2065 (patch) | |
tree | 0bf6e35f61c0d482464ab75cf6dcc454c6f00fa0 /package/boot/uboot-envtools/patches | |
parent | 90a07596e151912680abfd58b15524dc9aac5325 (diff) | |
download | upstream-e386a2e3ae4a1bbcd5dd76630e45492d493c2065.tar.gz upstream-e386a2e3ae4a1bbcd5dd76630e45492d493c2065.tar.bz2 upstream-e386a2e3ae4a1bbcd5dd76630e45492d493c2065.zip |
uboot-envtools: pass target cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39629 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..16c3920bd6 --- /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 + |