From c9c55032dc29ba8dc75a211cdbb930e7eaf31844 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Thu, 4 Nov 2021 15:28:09 +1100 Subject: [PATCH] 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 --- ports/minimal/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/minimal/Makefile b/ports/minimal/Makefile index 21e3fe3f76..fc3730e700 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