Changeset 40772


Ignore:
Timestamp:
2014-05-15T22:11:54+02:00 (4 years ago)
Author:
nbd
Message:

toolchain/gcc: fix build on arm with clang as host gcc replacement

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

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

    r40664 r40772  
    9696GCC_CONFIGURE:= \ 
    9797        SHELL="$(BASH)" \ 
     98        $(if $(shell gcc --version 2>&1 | grep LLVM), \ 
     99                CFLAGS="-O2 -fbracket-depth=512 -pipe" \ 
     100                CXXFLAGS="-O2 -fbracket-depth=512 -pipe" \ 
     101        ) \ 
    98102        $(HOST_SOURCE_DIR)/configure \ 
    99103                --with-bugurl=$(BUGURL) \ 
Note: See TracChangeset for help on using the changeset viewer.