From 40bf6ee842ec0c115538b4c22a405d3c4a5e6710 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 5 Mar 2012 00:51:05 +0000 Subject: [PATCH] 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 --- toolchain/gcc/common.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 73d63ba9a28..7448684e5c2 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 -- 2.30.2