utils: Changes in the Makefiles turned off optimisation
authorAlan Cox <alan@linux.intel.com>
Tue, 17 Mar 2015 12:12:13 +0000 (12:12 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 17 Mar 2015 12:12:13 +0000 (12:12 +0000)
Turn it back on!

Applications/util/Makefile

index b29a615..10af062 100644 (file)
@@ -2,15 +2,12 @@ CC = sdcc
 ASM = sdasz80
 AR = sdar
 LINKER = sdcc
-FCC = ../../Library/tools/fcc
-#PLATFORM =
-PLATFORM = -tzx128
+FCC = ../../Library/tools/fcc -O2
+PLATFORM =
+#PLATFORM = -tzx128
 
 PROGLOAD=`(cat ../../Kernel/platform/config.h; echo PROGLOAD) | cpp -E | tail -n1`
 
-#CC_OPT = -mz80 -c --opt-code-size --std-c89 --max-allocs-per-node 2000000 -I../../Library/include
-CC_OPT = -mz80 --std-c99 -c --opt-code-size --max-allocs-per-node 20000 -I../../Library/include
-
 # Used for programs that make sdcc go boom or take hours
 CC_CRAP = -mz80 --std-c99 -c --opt-code-size --max-allocs-per-node 1000 -I../../Library/include
 ASM_OPT = -l -o -s