Browse Source

gcc 4.4 mips bug workaround

- code optimization for size still fails loading any shared library
Waldemar Brodkorb 16 years ago
parent
commit
dd35f8739b
3 changed files with 3 additions and 3 deletions
  1. 1 1
      target/lemote/device.mk
  2. 1 1
      target/rb532/device.mk
  3. 1 1
      target/wag54g/device.mk

+ 1 - 1
target/lemote/device.mk

@@ -3,5 +3,5 @@ CPU_ARCH:=		mips64el
 KERNEL_VERSION:=	2.6.30
 KERNEL_RELEASE:=	1
 KERNEL_MD5SUM:=		7a80058a6382e5108cdb5554d1609615
-TARGET_OPTIMIZATION:=	-Os -pipe
+TARGET_OPTIMIZATION:=	-O2 -pipe
 TARGET_CFLAGS_ARCH:=    -march=loongson2f -mabi=64

+ 1 - 1
target/rb532/device.mk

@@ -3,5 +3,5 @@ CPU_ARCH:=		mipsel
 KERNEL_VERSION:=	2.6.30
 KERNEL_RELEASE:=	1
 KERNEL_MD5SUM:=		7a80058a6382e5108cdb5554d1609615
-TARGET_OPTIMIZATION:=	-Os -pipe
+TARGET_OPTIMIZATION:=	-O2 -pipe
 TARGET_CFLAGS_ARCH:=    -march=mips32

+ 1 - 1
target/wag54g/device.mk

@@ -3,5 +3,5 @@ CPU_ARCH:=		mipsel
 KERNEL_VERSION:=	2.6.30
 KERNEL_RELEASE:=	1
 KERNEL_MD5SUM:=		7a80058a6382e5108cdb5554d1609615
-TARGET_OPTIMIZATION:=	-Os -pipe
+TARGET_OPTIMIZATION:=	-O2 -pipe
 TARGET_CFLAGS_ARCH:=    -march=mips32