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:
parent
151dd9ff5f
commit
590801147a
@ -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++.
|
||||
|
Loading…
Reference in New Issue
Block a user