summaryrefslogtreecommitdiff
path: root/src/stm-demo/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-10 11:41:49 -0700
committerKeith Packard <keithp@keithp.com>2013-03-10 11:41:49 -0700
commit97efce5f7ff227aaa8990529217d3d10db3443dc (patch)
treec9ccf4964647ee9eecb8e58110a91da6163485da /src/stm-demo/Makefile
parent72c5b1429bdfd6e9d2185bad7d0adb281fdf659a (diff)
altos: re-enable optimization for stm-demo. remove unused bits
This makes stm-demo run on the discovery board again. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm-demo/Makefile')
-rw-r--r--src/stm-demo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm-demo/Makefile b/src/stm-demo/Makefile
index 09c9c3ca..3b1b671b 100644
--- a/src/stm-demo/Makefile
+++ b/src/stm-demo/Makefile
@@ -44,7 +44,7 @@ PRODUCT=StmDemo-v0.0
PRODUCT_DEF=-DSTM_DEMO
IDPRODUCT=0x000a
-CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -g -O0
+CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -g -Os
PROG=stm-demo