mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
gcc: compile libgcc and libstdc++ with -O2 instead of -Os on power pc to avoid generating references to gpr save/restore functions which cannot yet be resolved at this point
SVN-Revision: 18177
This commit is contained in:
parent
bc59e3da51
commit
46cc3f164d
@ -151,6 +151,10 @@ GCC_CONFIGURE_STAGE2:= \
|
||||
--disable-tls \
|
||||
--with-slibdir=$(TOOLCHAIN_DIR)/lib \
|
||||
|
||||
ifdef CONFIG_powerpc
|
||||
TARGET_CFLAGS := $(patsubst -Os,-O2,$(TARGET_CFLAGS))
|
||||
endif
|
||||
|
||||
GCC_MAKE:= \
|
||||
export SHELL="$(BASH)"; \
|
||||
$(MAKE) \
|
||||
|
Loading…
Reference in New Issue
Block a user