diff --git a/toolchain/wrapper/Makefile b/toolchain/wrapper/Makefile index e1f8389b1f..c54170caba 100644 --- a/toolchain/wrapper/Makefile +++ b/toolchain/wrapper/Makefile @@ -42,7 +42,7 @@ define Host/SetToolchainInfo if [ -f $(CONFIG_TOOLCHAIN_ROOT)/info.mk ]; then \ $(CP) $(CONFIG_TOOLCHAIN_ROOT)/info.mk $(TOOLCHAIN_DIR)/; \ else \ - $(SED) 's,GCC_VERSION=.*,GCC_VERSION=$(CONFIG_GCC_VERSION),' $(TOOLCHAIN_DIR)/info.mk; \ + $(SED) 's,GCC_VERSION=.*,GCC_VERSION=$(call qstrip,$(CONFIG_GCC_VERSION)),' $(TOOLCHAIN_DIR)/info.mk; \ fi endef