equal
deleted
inserted
replaced
330 |
330 |
331 ifndef DEBUG |
331 ifndef DEBUG |
332 ifndef PROFILE |
332 ifndef PROFILE |
333 # Release mode |
333 # Release mode |
334 ifndef MORPHOS |
334 ifndef MORPHOS |
|
335 ifndef IRIX |
335 # automatical strip breaks under morphos |
336 # automatical strip breaks under morphos |
336 BASECFLAGS += -s |
337 BASECFLAGS += -s |
337 LDFLAGS += -s |
338 LDFLAGS += -s |
338 endif |
339 endif |
339 endif |
340 endif |
|
341 endif |
340 |
342 |
341 ifdef OSX |
343 ifdef OSX |
342 # these compilerflags makes the app run as fast as possible without making the app unstable. It works on G3 or newer |
344 # these compilerflags makes the app run as fast as possible without making the app unstable. It works on G3 or newer |
343 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 |
345 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 |
344 else |
346 else |
347 BASECFLAGS += -mcpu=604 -fno-inline -mstring -mmultiple |
349 BASECFLAGS += -mcpu=604 -fno-inline -mstring -mmultiple |
348 else |
350 else |
349 BASECFLAGS += -O2 |
351 BASECFLAGS += -O2 |
350 endif |
352 endif |
351 ifndef PROFILE |
353 ifndef PROFILE |
|
354 ifndef IRIX |
352 BASECFLAGS += -fomit-frame-pointer |
355 BASECFLAGS += -fomit-frame-pointer |
|
356 endif |
353 endif |
357 endif |
354 endif |
358 endif |
355 endif |
359 endif |
356 |
360 |
357 ifdef STATIC |
361 ifdef STATIC |