summaryrefslogtreecommitdiffstatshomepage
path: root/stm
diff options
context:
space:
mode:
authormux <freelancer.c@gmail.com>2014-01-09 13:45:29 +0200
committermux <freelancer.c@gmail.com>2014-01-09 13:45:29 +0200
commite78e2dd305c8f317f4256dbae6c722288f84c73a (patch)
tree1a6a8e03ef210d2d253a5bb588acfd6a768f45b4 /stm
parent74269f86b9aea00e8bcd4e44d028ca3bb78184ac (diff)
downloadmicropython-e78e2dd305c8f317f4256dbae6c722288f84c73a.tar.gz
micropython-e78e2dd305c8f317f4256dbae6c722288f84c73a.zip
Fix Makefile typo
Diffstat (limited to 'stm')
-rw-r--r--stm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/stm/Makefile b/stm/Makefile
index 95ee74dc61..2fecd03bad 100644
--- a/stm/Makefile
+++ b/stm/Makefile
@@ -27,9 +27,9 @@ CFLAGS = -I. -I$(PY_SRC) -I$(FATFSSRC) -I$(STMSRC) -Wall -ansi -std=gnu99 $(CFLA
#Debugging/Optimization
ifeq ($(DEBUG), 1)
-CFLAGS = -O0 -ggdb
+CFLAGS += -O0 -ggdb
else
-CFLAGS = -Os -DNDEBUG
+CFLAGS += -Os -DNDEBUG
endif
LDFLAGS = --nostdlib -T stm32f405.ld