altos: Switch megametrum compile to -Os
authorKeith Packard <keithp@keithp.com>
Mon, 7 May 2012 05:52:56 +0000 (22:52 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 7 May 2012 05:52:56 +0000 (22:52 -0700)
Looks like gcc has compiler bugs with -O0

Signed-off-by: Keith Packard <keithp@keithp.com>
src/megametrum-v0.1/Makefile

index 5d73c1d064ed061311ef849fee541d97ced707bd..437e1a9ebac3b43442a8e05d93f1221c8dcabc2c 100644 (file)
@@ -56,7 +56,7 @@ PRODUCT=MegaMetrum-v0.1
 PRODUCT_DEF=-DMEGAMETRUM
 IDPRODUCT=0x000a
 
-CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -O0 -g
+CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g
 
 PROG=megametrum-v0.1-$(VERSION).elf