diff options
Diffstat (limited to 'dev-db/mongodb/files/mongodb-5.0.3-skip-no-exceptions.patch')
-rw-r--r-- | dev-db/mongodb/files/mongodb-5.0.3-skip-no-exceptions.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-5.0.3-skip-no-exceptions.patch b/dev-db/mongodb/files/mongodb-5.0.3-skip-no-exceptions.patch new file mode 100644 index 000000000000..ae69befcea82 --- /dev/null +++ b/dev-db/mongodb/files/mongodb-5.0.3-skip-no-exceptions.patch @@ -0,0 +1,13 @@ +diff --git a/SConstruct b/SConstruct +index 613110b7..4987e24e 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -2958,7 +2958,7 @@ def doConfigure(myenv): + + # This warning was added in clang-5 and incorrectly flags our implementation of + # exceptionToStatus(). See https://bugs.llvm.org/show_bug.cgi?id=34804 +- AddToCCFLAGSIfSupported(myenv, "-Wno-exceptions") ++ #AddToCCFLAGSIfSupported(myenv, "-Wno-exceptions") + + # Enable sized deallocation support. + AddToCXXFLAGSIfSupported(myenv, '-fsized-deallocation') |