summarylogtreecommitdiffstats
path: root/mongodb-5.0.2-skip-no-exceptions.patch
diff options
context:
space:
mode:
authorJustKidding2022-08-03 16:06:57 -0500
committerJustKidding2022-08-03 16:06:57 -0500
commit8c576ee6fcfb1f8aac72e39f68f4f0512f5d441f (patch)
tree8a2f18b64532521d83093a90af5e1859d8386e2a /mongodb-5.0.2-skip-no-exceptions.patch
downloadaur-8c576ee6fcfb1f8aac72e39f68f4f0512f5d441f.tar.gz
initial commit
Diffstat (limited to 'mongodb-5.0.2-skip-no-exceptions.patch')
-rw-r--r--mongodb-5.0.2-skip-no-exceptions.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/mongodb-5.0.2-skip-no-exceptions.patch b/mongodb-5.0.2-skip-no-exceptions.patch
new file mode 100644
index 000000000000..ae69befcea82
--- /dev/null
+++ b/mongodb-5.0.2-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')