mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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
b316ab42bb
commit
0dd9afae4e
@ -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…
x
Reference in New Issue
Block a user