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:
parent
8687fe1b9f
commit
4b5c18b9b2
@ -233,7 +233,7 @@ else
|
|||||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
|
||||||
|
|
||||||
ifeq ($(GCCVER),)
|
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
|
endif
|
||||||
|
|
||||||
ifeq ($(GCCVER),12.2)
|
ifeq ($(GCCVER),12.2)
|
||||||
|
Loading…
Reference in New Issue
Block a user