diff options
author | Benety Goh <benety@mongodb.com> | 2014-09-18 17:28:51 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2014-09-19 16:24:12 -0400 |
commit | 590801147ad7cb7edd5269fe7a219890acc3ee6b (patch) | |
tree | ecd01b70abde003c263a517dd5fed2a09035e453 /SConstruct | |
parent | 151dd9ff5f6f4acb99c030dbc533a632412108f9 (diff) | |
download | mongo-590801147ad7cb7edd5269fe7a219890acc3ee6b.tar.gz |
SERVER-14352 rocksdb requires C++11 mode to be enabled
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index d4739138a04..5d89b26489a 100644 --- a/SConstruct +++ b/SConstruct @@ -1457,6 +1457,11 @@ def doConfigure(myenv): cxx11_mode = "on" myenv = cxx11Env + # rocksdb requires C++11 mode + if has_option("rocksdb") and cxx11_mode == "off": + print("--rocksdb requires C++11 mode to be enabled"); + Exit(1) + if has_option("use-glibcxx-debug"): # If we are using a modern libstdc++ and this is a debug build and we control all C++ # dependencies, then turn on the debugging features in libstdc++. |