From: Felix Fietkau Date: Mon, 5 Mar 2012 00:51:05 +0000 (+0000) Subject: gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 worka... X-Git-Tag: attitude_adjustment_12.09~2155 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=40bf6ee842ec0c115538b4c22a405d3c4a5e6710;p=openwrt%2Fsvn-archive%2Fopenwrt.git gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 workaround that dealt with it earlier SVN-Revision: 30815 --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 73d63ba9a2..7448684e5c 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -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