Skip to content

Commit 4b5c18b

Browse files
zouboanxiaoxiang781216
authored andcommitted
arm/Toolchain.defs: fix error sed:-e expression #1,character 1:unknown command:' in Windows native build
arm/Toolchain.defs: fix error sed:-e expression #1,character 1:unknown command:' in Windows native build
1 parent 8687fe1 commit 4b5c18b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/src/common/Toolchain.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ else
233233
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
234234

235235
ifeq ($(GCCVER),)
236-
export GCCVER := $(shell $(CC) --version | grep gcc | sed -r 's/.* ([0-9]+\.[0-9]+).*/\1/')
236+
export GCCVER := $(shell $(CC) --version | grep gcc | sed -r "s/.* ([0-9]+\.[0-9]+).*/\1/")
237237
endif
238238

239239
ifeq ($(GCCVER),12.2)

0 commit comments

Comments
 (0)