mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user