From: nbd 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-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/9de940d8c63c4f90110280ab17c1e83205cb9b1b?hp=88093cf36c375d29a3447b7286ecf88dac407239 gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 workaround that dealt with it earlier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30815 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 73d63ba9a..7448684e5 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