mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:37:10 +02:00
[toolchain] gcc: build with HOST_CFLAGS
Turns on -O2 optimization when building GCC thus making the cross-compiler a little faster (about 25%). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34266 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
154efb3544
commit
9a62705dcc
@ -180,6 +180,7 @@ endif
|
||||
GCC_MAKE:= \
|
||||
export SHELL="$(BASH)"; \
|
||||
$(MAKE) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
CFLAGS_FOR_TARGET="$(TARGET_CFLAGS)" \
|
||||
CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user