summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct10
1 files changed, 5 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index 9bc1129ad5f..499697acc29 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1967,14 +1967,14 @@ def doConfigure(myenv):
}
""" % compiler_minimum_string)
elif myenv.ToolchainIs('gcc'):
- compiler_minimum_string = "GCC 5.3.0"
+ compiler_minimum_string = "GCC 8.2"
compiler_test_body = textwrap.dedent(
"""
#if !defined(__GNUC__) || defined(__clang__)
#error
#endif
- #if (__GNUC__ < 5) || (__GNUC__ == 5 && __GNUC_MINOR__ < 3) || (__GNUC__ == 5 && __GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 0)
+ #if (__GNUC__ < 8) || (__GNUC__ == 8 && __GNUC_MINOR__ < 2)
#error %s or newer is required to build MongoDB
#endif
@@ -1983,7 +1983,7 @@ def doConfigure(myenv):
}
""" % compiler_minimum_string)
elif myenv.ToolchainIs('clang'):
- compiler_minimum_string = "clang 3.8 (or Apple XCode 8.3.2)"
+ compiler_minimum_string = "clang 7.0 (or Apple XCode 10.0)"
compiler_test_body = textwrap.dedent(
"""
#if !defined(__clang__)
@@ -1991,10 +1991,10 @@ def doConfigure(myenv):
#endif
#if defined(__apple_build_version__)
- #if __apple_build_version__ < 8020042
+ #if __apple_build_version__ < 10001145
#error %s or newer is required to build MongoDB
#endif
- #elif (__clang_major__ < 3) || (__clang_major__ == 3 && __clang_minor__ < 8)
+ #elif (__clang_major__ < 7) || (__clang_major__ == 7 && __clang_minor__ < 0)
#error %s or newer is required to build MongoDB
#endif