[toolchain/gcc] add support for gcc 4.7.0 - thanks to acoul!
[openwrt.git] / toolchain / gcc / common.mk
index 73d63ba..731af95 100644 (file)
@@ -63,6 +63,9 @@ else
   ifeq ($(PKG_VERSION),4.6.2)
     PKG_MD5SUM:=028115c4fbfb6cfd75d6369f4a90d87e
   endif
+  ifeq ($(PKG_VERSION),4.7.0)
+    PKG_MD5SUM:=2a0f1d99fda235c29d40b561f81d9a77
+  endif
 endif
 endif
 
@@ -155,10 +158,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
This page took 0.031599 seconds and 4 git commands to generate.