mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
We use different toolchain directories for different
ARM archs, so we should set the default arch of gcc to reflect this. This enables EABI support for armv4 CPUs. Signed-off-by: Jochen Friedrich <jochen@scram.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25705 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -167,6 +167,10 @@ ifdef CONFIG_powerpc
|
||||
TARGET_CFLAGS := $(patsubst -Os,-O2,$(TARGET_CFLAGS))
|
||||
endif
|
||||
|
||||
ifneq ($(GCC_ARCH),)
|
||||
GCC_CONFIGURE+= --with-arch=$(GCC_ARCH)
|
||||
endif
|
||||
|
||||
GCC_MAKE:= \
|
||||
export SHELL="$(BASH)"; \
|
||||
$(MAKE) $(TOOLCHAIN_JOBS) \
|
||||
|
||||
Reference in New Issue
Block a user