summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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