From 14d420a0c4729e1a9522ce694d6223d18ffda579 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 13 Feb 2022 23:48:05 +0000 Subject: Issue #7 - Correct the check version number to include .patch version --- build/moz.configure/toolchain.configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure index 3944c439b..1f2b5ecf0 100644 --- a/build/moz.configure/toolchain.configure +++ b/build/moz.configure/toolchain.configure @@ -675,7 +675,7 @@ def compiler(language, host_or_target, c_compiler=None, other_compiler=None, # Check the compiler version here instead of in `compiler_version` so # that the `checking` message doesn't pretend the compiler can be used # to then bail out one line later. - if info.type == 'gcc' and info.version < '7.1': + if info.type == 'gcc' and info.version < '7.1.0': raise FatalCheckError( 'Only GCC 7.1 or newer is supported (found version %s).' % info.version) -- cgit v1.2.3