From 4b5c18b9b23ff10417a9b015cdda4b4adfc2b21b Mon Sep 17 00:00:00 2001 From: zouboan Date: Wed, 26 Apr 2023 19:23:01 +0800 Subject: [PATCH] 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 --- arch/arm/src/common/Toolchain.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/common/Toolchain.defs b/arch/arm/src/common/Toolchain.defs index ac8cfb5821..44f9bcd301 100644 --- a/arch/arm/src/common/Toolchain.defs +++ b/arch/arm/src/common/Toolchain.defs @@ -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)