From 1952882e7ec28be8ed419130d8b689e053c3f4c6 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 4 Feb 2005 19:51:43 +0000 Subject: [PATCH] (svn r1795) Change CFLAGS for MorphOS (tokai) --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b42ea848f9..36d50e80e6 100644 --- a/Makefile +++ b/Makefile @@ -310,7 +310,8 @@ ifdef OSX BASECFLAGS += -O3 -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mdynamic-no-pic -mpowerpc-gpopt -force_cpusubtype_ALL else ifdef MORPHOS -BASECFLAGS += -O3 -funroll-loops -fexpensive-optimizations -mstring -mmultiple +BASECFLAGS += -O2 -noixemul -fstrict-aliasing -fexpensive-optimizations +BASECFLAGS += -mcpu=604 -fno-inline -mstring -mmultiple else BASECFLAGS += -O2 endif @@ -358,7 +359,8 @@ endif endif ifdef MORPHOS -CFLAGS += -noixemul -pipe +# -Wstrict-prototypes generates much noise because of system headers +CFLAGS += -Wno-strict-prototypes endif ifdef SUNOS