From 2f5cf278801bd6360c6d77d186c67ab78a5b41bb Mon Sep 17 00:00:00 2001 From: ehouse Date: Fri, 24 Sep 2004 01:16:08 +0000 Subject: [PATCH] pass -w to arm-elf-gcc to stop Palm header warnings (temp!) --- xwords4/palm/Makefile.PNO | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/xwords4/palm/Makefile.PNO b/xwords4/palm/Makefile.PNO index 672f19782..daadd4d39 100644 --- a/xwords4/palm/Makefile.PNO +++ b/xwords4/palm/Makefile.PNO @@ -22,7 +22,10 @@ INCLUDE += \ -I$(PALMDIR)/Core/Hardware \ -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 \ -nostartfiles -mshort-load-bytes -nodefaultlibs -ffixed-r9 -ffixed-r8 \ -mpic-register=r10 -msingle-pic-base -fPIC \ @@ -31,7 +34,9 @@ ARMCCFS = $(CCFLAGS) -DNATIVE \ ARMLDFS = -Xlinker --script=./ldscript.arm -lgcc # 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