Changeset 34266


Ignore:
Timestamp:
2012-11-20T00:12:00+01:00 (5 years ago)
Author:
florian
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/gcc/common.mk

    r34264 r34266  
    181181        export SHELL="$(BASH)"; \ 
    182182        $(MAKE) \ 
     183                CFLAGS="$(HOST_CFLAGS)" \ 
    183184                CFLAGS_FOR_TARGET="$(TARGET_CFLAGS)" \ 
    184185                CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS)" 
Note: See TracChangeset for help on using the changeset viewer.