summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-02-13 23:48:05 +0000
committerMoonchild <moonchild@palemoon.org>2022-02-13 23:48:05 +0000
commit14d420a0c4729e1a9522ce694d6223d18ffda579 (patch)
treeb6e5f10d738288fec7cc6f6a6e70e959c46eb777 /build
parent68a1b427bb45f5367a43872cbf8a0d3d3faddacc (diff)
downloadGRE-14d420a0c4729e1a9522ce694d6223d18ffda579.tar.gz
Issue #7 - Correct the check version number to include .patch version
Diffstat (limited to 'build')
-rw-r--r--build/moz.configure/toolchain.configure2
1 files changed, 1 insertions, 1 deletions
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)