diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2021-11-04 15:28:09 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-11-04 15:59:20 +1100 |
| commit | c9c55032dc29ba8dc75a211cdbb930e7eaf31844 (patch) | |
| tree | 1c60ef1d0d2a05a7a028b3fd3106ef7571ac31e9 | |
| parent | cb99ca9862827f57c370555841810e98701ecfa2 (diff) | |
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>
| -rw-r--r-- | ports/minimal/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/minimal/Makefile b/ports/minimal/Makefile index 21e3fe3f7..fc3730e70 100644 --- a/ports/minimal/Makefile +++ b/ports/minimal/Makefile @@ -27,8 +27,8 @@ CFLAGS = $(INC) -Wall -Werror -std=c99 -nostdlib $(CFLAGS_CORTEX_M4) $(COPT) LDFLAGS = -nostdlib -T stm32f405.ld -Map=$@.map --cref --gc-sections else LD = gcc -CFLAGS = -m32 $(INC) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT) -LDFLAGS = -m32 -Wl,-Map=$@.map,--cref -Wl,--gc-sections +CFLAGS = $(INC) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT) +LDFLAGS = -Wl,-Map=$@.map,--cref -Wl,--gc-sections endif CSUPEROPT = -Os # save some code space |
