mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
pass -w to arm-elf-gcc to stop Palm header warnings (temp!)
This commit is contained in:
parent
f25ecbed9c
commit
2f5cf27880
1 changed files with 7 additions and 2 deletions
|
@ -22,7 +22,10 @@ INCLUDE += \
|
||||||
-I$(PALMDIR)/Core/Hardware \
|
-I$(PALMDIR)/Core/Hardware \
|
||||||
-I. -I../common
|
-I. -I../common
|
||||||
|
|
||||||
CCFLAGS = -O2 -g -Wall -D__PALMOS__
|
# 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
|
||||||
|
# use the arm-palmos-gcc, or something. But for now, -w....
|
||||||
|
CCFLAGS = -O2 -g -Wall -D__PALMOS__ -w
|
||||||
ARMCCFS = $(CCFLAGS) -DNATIVE \
|
ARMCCFS = $(CCFLAGS) -DNATIVE \
|
||||||
-nostartfiles -mshort-load-bytes -nodefaultlibs -ffixed-r9 -ffixed-r8 \
|
-nostartfiles -mshort-load-bytes -nodefaultlibs -ffixed-r9 -ffixed-r8 \
|
||||||
-mpic-register=r10 -msingle-pic-base -fPIC \
|
-mpic-register=r10 -msingle-pic-base -fPIC \
|
||||||
|
@ -31,7 +34,9 @@ ARMCCFS = $(CCFLAGS) -DNATIVE \
|
||||||
ARMLDFS = -Xlinker --script=./ldscript.arm -lgcc
|
ARMLDFS = -Xlinker --script=./ldscript.arm -lgcc
|
||||||
|
|
||||||
# ARM-specific
|
# ARM-specific
|
||||||
ARM_DEFINES = $(MYDEFINES) -DXW_TARGET_PNO -D__LITTLE_ENDIAN -USHOW_PROGRESS
|
ARM_DEFINES = $(MYDEFS) -DXW_TARGET_PNO -D__LITTLE_ENDIAN
|
||||||
|
# turn show progress off for now
|
||||||
|
ARM_DEFINES += -USHOW_PROGRESS
|
||||||
|
|
||||||
include ../common/config.mk
|
include ../common/config.mk
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue