gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 worka...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 5 Mar 2012 00:51:05 +0000 (00:51 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 5 Mar 2012 00:51:05 +0000 (00:51 +0000)
SVN-Revision: 30815

toolchain/gcc/common.mk

index 73d63ba9a28f1a7b908b7bd4d193b7e5521a4bc9..7448684e5c2d4ee00b6273f5fdeee35ee6d1ddfa 100644 (file)
@@ -155,10 +155,6 @@ else
                --enable-__cxa_atexit
 endif
 
-ifdef CONFIG_powerpc
-  TARGET_CFLAGS := $(patsubst -Os,-O2,$(TARGET_CFLAGS))
-endif
-
 ifneq ($(GCC_ARCH),)
   GCC_CONFIGURE+= --with-arch=$(GCC_ARCH)
 endif