mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
-Os instead of -O2
This commit is contained in:
parent
834a5e0411
commit
146a4f1d4d
1 changed files with 4 additions and 1 deletions
|
@ -15,6 +15,9 @@ CC_ARM = arm-$(WHICH)-gcc
|
||||||
OC_ARM= arm-$(WHICH)-objcopy
|
OC_ARM= arm-$(WHICH)-objcopy
|
||||||
OD_ARM = arm-$(WHICH)-objdump
|
OD_ARM = arm-$(WHICH)-objdump
|
||||||
|
|
||||||
|
OPT = -Os
|
||||||
|
MINUS_G = -g
|
||||||
|
|
||||||
INCLUDE += \
|
INCLUDE += \
|
||||||
-I$(PALMDIR) \
|
-I$(PALMDIR) \
|
||||||
-I$(PALMDIR)/Libraries \
|
-I$(PALMDIR)/Libraries \
|
||||||
|
@ -30,7 +33,7 @@ INCLUDE += \
|
||||||
# NOTE!!!! Added the -w flag to supress all warnings since arm-elf-gcc
|
# NOTE!!!! Added the -w flag to supress all warnings since arm-elf-gcc
|
||||||
# does so much bitching about the Palm headers. Need to fix that, or
|
# does so much bitching about the Palm headers. Need to fix that, or
|
||||||
# use the arm-palmos-gcc, or something. But for now, -w....
|
# use the arm-palmos-gcc, or something. But for now, -w....
|
||||||
CCFLAGS = -O2 -g -Wall -D__PALMOS__
|
CCFLAGS = $(OPT) $(MINUS_G) -Wall -D__PALMOS__ -D__palmos__ -Asystem=palmos
|
||||||
ARMCCFS = $(CCFLAGS) -DNATIVE \
|
ARMCCFS = $(CCFLAGS) -DNATIVE \
|
||||||
-nostartfiles -mshort-load-bytes -nodefaultlibs -ffixed-r9 \
|
-nostartfiles -mshort-load-bytes -nodefaultlibs -ffixed-r9 \
|
||||||
-mpic-register=r10 -msingle-pic-base -fpic \
|
-mpic-register=r10 -msingle-pic-base -fpic \
|
||||||
|
|
Loading…
Reference in a new issue