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
This commit is contained in:
zouboan 2023-04-26 19:23:01 +08:00 committed by Xiang Xiao
parent 8687fe1b9f
commit 4b5c18b9b2

View File

@ -233,7 +233,7 @@ else
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
ifeq ($(GCCVER),)
export GCCVER := $(shell $(CC) --version | grep gcc | sed -r 's/.* ([0-9]+\.[0-9]+).*/\1/')
export GCCVER := $(shell $(CC) --version | grep gcc | sed -r "s/.* ([0-9]+\.[0-9]+).*/\1/")
endif
ifeq ($(GCCVER),12.2)