summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--py/compile.c2
-rw-r--r--stm/Makefile2
-rw-r--r--unix/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/py/compile.c b/py/compile.c
index ea0bbc2d55..42bac7d28a 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -1610,7 +1610,7 @@ void compile_try_except(compiler_t *comp, py_parse_node_t pn_body, int n_except,
EMIT(pop_top);
- int l3;
+ int l3 = 0;
if (qstr_exception_local != 0) {
l3 = comp_next_label(comp);
EMIT(setup_finally, l3);
diff --git a/stm/Makefile b/stm/Makefile
index a5d0aad8a0..8817717950 100644
--- a/stm/Makefile
+++ b/stm/Makefile
@@ -148,7 +148,7 @@ $(BUILD)/%.o: $(CC3KSRC)/%.c
$(CC) $(CFLAGS) -c -o $@ $<
$(BUILD)/%.o: $(PYSRC)/%.s
- $(AS) -c -o $@ $<
+ $(AS) -o $@ $<
$(BUILD)/%.o: $(PYSRC)/%.c mpyconfig.h
$(CC) $(CFLAGS) -c -o $@ $<
diff --git a/unix/Makefile b/unix/Makefile
index 8c59b5b3f2..76cc0a3855 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -50,7 +50,7 @@ $(BUILD)/%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
$(BUILD)/%.o: $(PYSRC)/%.s
- $(AS) -c -o $@ $<
+ $(AS) -o $@ $<
$(BUILD)/%.o: $(PYSRC)/%.c mpyconfig.h
$(CC) $(CFLAGS) -c -o $@ $<