summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-05 00:51:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-05 00:51:05 +0000
commit40bf6ee842ec0c115538b4c22a405d3c4a5e6710 (patch)
tree06cfc6b207db5b7af916fc7bfdb5303a6d9bb674 /toolchain
parentd8c570a1531035c3e26bcd94741e5f5b9c36b5d9 (diff)
downloadmtk-20170518-40bf6ee842ec0c115538b4c22a405d3c4a5e6710.zip
mtk-20170518-40bf6ee842ec0c115538b4c22a405d3c4a5e6710.tar.gz
mtk-20170518-40bf6ee842ec0c115538b4c22a405d3c4a5e6710.tar.bz2
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
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/common.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index 73d63ba..7448684 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