summaryrefslogtreecommitdiff
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
commit1952882e7ec28be8ed419130d8b689e053c3f4c6 (patch)
tree0c3f7931666b0a374fcef1151fbb78ab50feda57
parentf88d57a72bbccfeebbb89b7409dce47c464c158e (diff)
downloadopenttd-1952882e7ec28be8ed419130d8b689e053c3f4c6.tar.xz
(svn r1795) Change CFLAGS for MorphOS (tokai)
-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