uboot-envtools: pass target cflags

SVN-Revision: 39629
This commit is contained in:
Nicolas Thill
2014-02-18 22:11:24 +00:00
parent 97faa098a2
commit ece85d2d25
2 changed files with 14 additions and 1 deletions

View File

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