openwrt/package/boot/uboot-envtools/patches/001-honor_opt_flags.patch
Nicolas Thill ece85d2d25 uboot-envtools: pass target cflags
SVN-Revision: 39629
2014-02-18 22:11:24 +00:00

13 lines
356 B
Diff

--- 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