gcc: compile libgcc and libstdc++ with -O2 instead of -Os on power pc to avoid genera...
[openwrt.git] / toolchain / gcc / Makefile
index 3b31127..77243c5 100644 (file)
@@ -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) \
This page took 0.024118 seconds and 4 git commands to generate.