10000 minimal/Makefile: Don't force a 32-bit build. · salewski/micropython@c9c5503 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9c5503

Browse files
jimmodpgeorge
authored andcommitted
minimal/Makefile: Don't force a 32-bit build.
Word-size specific configuration is now done automatically, so it no longer requires this to match the ARM configuration. Also it's less common to have 32-bit compilation support installed, so this will make it work "out of the box" for more people. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent cb99ca9 commit c9c5503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/minimal/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ CFLAGS = $(INC) -Wall -Werror -std=c99 -nostdlib $(CFLAGS_CORTEX_M4) $(COPT)
2727
LDFLAGS = -nostdlib -T stm32f405.ld -Map=$@.map --cref --gc-sections
2828
else
2929
LD = gcc
30-
CFLAGS = -m32 $(INC) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT)
31-
LDFLAGS = -m32 -Wl,-Map=$@.map,--cref -Wl,--gc-sections
30+
CFLAGS = $(INC) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT)
31+
LDFLAGS = -Wl,-Map=$@.map,--cref -Wl,--gc-sections
3232
endif
3333

3434
CSUPEROPT = -Os # save some code space

0 commit comments

Comments
 (0)
0