equal
deleted
inserted
replaced
746 if [ $enable_debug = 0 ]; then |
746 if [ $enable_debug = 0 ]; then |
747 # No debug, add default stuff |
747 # No debug, add default stuff |
748 OBJS_SUBDIR="release" |
748 OBJS_SUBDIR="release" |
749 if [ "$os" = "OSX" ]; then |
749 if [ "$os" = "OSX" ]; then |
750 # these compilerflags makes the app run as fast as possible without making the app unstable. It works on G3 or newer |
750 # these compilerflags makes the app run as fast as possible without making the app unstable. It works on G3 or newer |
751 CFLAGS="$CFLAGS -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" |
751 CFLAGS="-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 $CFLAGS" |
752 else |
752 else |
753 if [ "$os" = "MORPHOS" ]; then |
753 if [ "$os" = "MORPHOS" ]; then |
754 CFLAGS="$CFLAGS -I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations" |
754 CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS" |
755 CFLAGS="$CFLAGS -mcpu=604 -fno-inline -mstring -mmultiple" |
|
756 LDFLAGS="$LDFLAGS -noixemul" |
755 LDFLAGS="$LDFLAGS -noixemul" |
757 fi |
756 fi |
758 |
757 |
759 CFLAGS="$CFLAGS -O2 -fomit-frame-pointer" |
758 CFLAGS="-O2 -fomit-frame-pointer $CFLAGS" |
760 fi |
759 fi |
761 else |
760 else |
762 OBJS_SUBDIR="debug" |
761 OBJS_SUBDIR="debug" |
763 |
762 |
764 # Each debug level reduces the optimalization by a bit |
763 # Each debug level reduces the optimalization by a bit |