enable optimization for size
Stefan Schuermans

Stefan Schuermans commited on 2012-03-15 21:45:23
Showing 2 changed files, with 2 additions and 1 deletions.

... ...
@@ -4,7 +4,7 @@ PERL=perl
4 4
 CC=mipsel-elf-gcc
5 5
 LD=mipsel-elf-ld
6 6
 OBJCOPY=mipsel-elf-objcopy
7
-CFLAGS=-Wall -Wextra -mips1 -mno-abicalls
7
+CFLAGS=-Wall -Wextra -mips1 -mno-abicalls -Os
8 8
 LFLAGS=-mips1
9 9
 
10 10
 BASES=$(patsubst %.c,%,$(SRCS))
... ...
@@ -8,6 +8,7 @@ SECTIONS
8 8
   . = 0x00010000;
9 9
   .ram : {
10 10
      *(.rodata)
11
+     *(.rodata.*)
11 12
      *(.data)
12 13
      *(.bss)
13 14
      *(.sbss)
14 15