gcc: update to version 12.2.0

Issue #4827
This commit is contained in:
Christian Prochaska
2023-05-05 17:31:28 +02:00
committed by Christian Helmuth
parent 8602837fd4
commit b12ebae6cd
26 changed files with 215 additions and 313 deletions

View File

@@ -194,7 +194,7 @@ check_tool = $(if $(shell command -v $(1)),,$(error Need to have '$(1)' installe
# Empty DST_DIRS is interpreted as a tool-chain agnostic target, e.g., clean.
#
ifneq ($(DST_DIRS),)
REQUIRED_GCC_VERSION ?= 10.3.0
REQUIRED_GCC_VERSION ?= 12.2.0
GCC_VERSION := $(filter $(REQUIRED_GCC_VERSION) ,$(shell $(CUSTOM_CXX) --version))
ifneq ($(GCC_VERSION), $(REQUIRED_GCC_VERSION))
$(error "$(CUSTOM_CXX) version $(REQUIRED_GCC_VERSION) is required")