mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 11:16:32 +00:00
toolchain/gcc: fix build on arm with clang as host gcc replacement
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40772
This commit is contained in:
parent
cfbd90d2bf
commit
479c25641a
@ -95,6 +95,10 @@ endif
|
||||
|
||||
GCC_CONFIGURE:= \
|
||||
SHELL="$(BASH)" \
|
||||
$(if $(shell gcc --version 2>&1 | grep LLVM), \
|
||||
CFLAGS="-O2 -fbracket-depth=512 -pipe" \
|
||||
CXXFLAGS="-O2 -fbracket-depth=512 -pipe" \
|
||||
) \
|
||||
$(HOST_SOURCE_DIR)/configure \
|
||||
--with-bugurl=$(BUGURL) \
|
||||
--with-pkgversion="$(PKGVERSION)" \
|
||||
|
Loading…
Reference in New Issue
Block a user