summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-05-06 22:52:56 -0700
committerKeith Packard <keithp@keithp.com>2012-05-06 22:52:56 -0700
commitf66f5de7a6cae71948da777ad0638bc6267a710f (patch)
tree89ccb2a6efb61453d03889f5f0dfe4d977bb07b7
parent0f0cc91ce8e9807dca48a5c0c53d821f5060e245 (diff)
altos: Switch megametrum compile to -Os
Looks like gcc has compiler bugs with -O0 Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/megametrum-v0.1/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/megametrum-v0.1/Makefile b/src/megametrum-v0.1/Makefile
index 5d73c1d0..437e1a9e 100644
--- a/src/megametrum-v0.1/Makefile
+++ b/src/megametrum-v0.1/Makefile
@@ -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