From ece85d2d259713ba4c345152ab5747342b747688 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Tue, 18 Feb 2014 22:11:24 +0000 Subject: uboot-envtools: pass target cflags SVN-Revision: 39629 --- .../boot/uboot-envtools/patches/001-honor_opt_flags.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/boot/uboot-envtools/patches/001-honor_opt_flags.patch (limited to 'package/boot/uboot-envtools/patches') 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 + -- cgit v1.1