diff options
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 6661b0aa38..ea2e2634b6 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -178,7 +178,7 @@ define Host/SetToolchainInfo endef -ifdef CONFIG_GCC_USE_VERSION_12 +ifeq ($(GCC_MAJOR_VERSION),12) GCC_VERSION_FILE:=gcc/genversion.cc else GCC_VERSION_FILE:=gcc/version.c |