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

Fixes #3116.
pull/6090/head
stinos 2020-05-29 20:46:46 +02:00 zatwierdzone przez Damien George
rodzic a4086a2f13
commit da71f55e23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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