summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-04 19:51:43 +0000
committertron <tron@openttd.org>2005-02-04 19:51:43 +0000
commit54a84a6e6ec465a3763ef28fb1a8a69709dccfc9 (patch)
tree0c3f7931666b0a374fcef1151fbb78ab50feda57 /Makefile
parent2ff6cc3135bb3c786dee33a39b32219dc5051581 (diff)
downloadopenttd-54a84a6e6ec465a3763ef28fb1a8a69709dccfc9.tar.xz
(svn r1795) Change CFLAGS for MorphOS (tokai)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b42ea848f..36d50e80e 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