0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

SERVER-14352 rocksdb requires C++11 mode to be enabled

This commit is contained in:
Benety Goh 2014-09-18 17:28:51 -04:00
parent 151dd9ff5f
commit 590801147a

View File

@ -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++.