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
1 changed files with 4 additions and 0 deletions
|
@ -151,6 +151,10 @@ GCC_CONFIGURE_STAGE2:= \
|
||||||
--disable-tls \
|
--disable-tls \
|
||||||
--with-slibdir=$(TOOLCHAIN_DIR)/lib \
|
--with-slibdir=$(TOOLCHAIN_DIR)/lib \
|
||||||
|
|
||||||
|
ifdef CONFIG_powerpc
|
||||||
|
TARGET_CFLAGS := $(patsubst -Os,-O2,$(TARGET_CFLAGS))
|
||||||
|
endif
|
||||||
|
|
||||||
GCC_MAKE:= \
|
GCC_MAKE:= \
|
||||||
export SHELL="$(BASH)"; \
|
export SHELL="$(BASH)"; \
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
|
|
Loading…
Reference in a new issue