summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2019-02-11 15:54:53 +0000
committerSara Golemon <sara.golemon@mongodb.com>2019-02-11 18:17:47 +0000
commit339de630faafde2d5954a381c91726391c7b5495 (patch)
tree32fe9575a7839fe9e5d052ed5b0e1bbdf81d66c5 /SConstruct
parent4f858c52b05ecc49d2ae19bbaf59fc0aad445b7e (diff)
downloadmongo-339de630faafde2d5954a381c91726391c7b5495.tar.gz
SERVER-39493 Relax xcode clang requirements and warn on osx dynamic link
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 5 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index a6dfd4998c2..e9b8dd5a595 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1403,6 +1403,10 @@ if link_model.startswith("dynamic"):
# If that condition is met, then the graph will be acyclic.
if env.TargetOSIs('darwin'):
+ if link_model.startswith('dynamic'):
+ print("WARNING: Building MongoDB server with dynamic linking " +
+ "on macOS is not supported. Static linking is recommended.")
+
if link_model == "dynamic-strict":
# Darwin is strict by default
pass
@@ -2026,7 +2030,7 @@ def doConfigure(myenv):
#endif
#if defined(__apple_build_version__)
- #if __apple_build_version__ < 10001145
+ #if __apple_build_version__ < 10001044
#error %s or newer is required to build MongoDB
#endif
#elif (__clang_major__ < 7) || (__clang_major__ == 7 && __clang_minor__ < 0)