diff options
author | stinos <stinos@users.noreply.github.com> | 2020-05-29 20:46:46 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-06-02 14:11:08 +1000 |
commit | da71f55e23a97102d241481e410fdb22d7c55758 (patch) | |
tree | b670456d346950c6ebae33ba962ecd9a6e6f6331 | |
parent | a4086a2f13732c88f81f535982288e6729a9f7db (diff) |
stm32/Makefile: Quote libgcc path so spaces are not an issue.
Fixes #3116.
-rw-r--r-- | ports/stm32/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index fdea95e92..2614d4aa0 100644 --- a/ports/stm32/Makefile +++ b/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 |