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
v19.07.3_mercusys_ac12_duma
Felix Fietkau 15 years ago
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…
Cancel
Save