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>
This commit is contained in:
parent
cb99ca9862
commit
c9c55032dc
@ -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
|
LDFLAGS = -nostdlib -T stm32f405.ld -Map=$@.map --cref --gc-sections
|
||||||
else
|
else
|
||||||
LD = gcc
|
LD = gcc
|
||||||
CFLAGS = -m32 $(INC) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT)
|
CFLAGS = $(INC) -Wall -Werror -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT)
|
||||||
LDFLAGS = -m32 -Wl,-Map=$@.map,--cref -Wl,--gc-sections
|
LDFLAGS = -Wl,-Map=$@.map,--cref -Wl,--gc-sections
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CSUPEROPT = -Os # save some code space
|
CSUPEROPT = -Os # save some code space
|
||||||
|
Loading…
x
Reference in New Issue
Block a user