mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +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
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user