Browse Source

stm32/Makefile: Quote libgcc path so spaces are not an issue.

Fixes #3116.
pull/6090/head
stinos 5 years ago
committed by Damien George
parent
commit
da71f55e23
  1. 2
      ports/stm32/Makefile

2
ports/stm32/Makefile

@ -124,7 +124,7 @@ endif
LDFLAGS = -nostdlib -L $(LD_DIR) $(addprefix -T,$(LD_FILES)) -Map=$(@:.elf=.map) --cref
LDFLAGS += --defsym=_estack_reserve=8
LIBS = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
LIBS = "$(shell $(CC) $(CFLAGS) -print-libgcc-file-name)"
# Remove uncalled code from the final image.
CFLAGS += -fdata-sections -ffunction-sections

Loading…
Cancel
Save