summaryrefslogtreecommitdiff
path: root/src/third_party/mozjs
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2022-01-04 18:08:42 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-05 21:09:25 +0000
commite438cd45c0a799a465322dd8b39beff8ac592d64 (patch)
treeb6572ffeac130ff89d767e96e3cbeef833a92e45 /src/third_party/mozjs
parent35a20b4134d98e63e22a4879330c03f2f6577ece (diff)
downloadmongo-e438cd45c0a799a465322dd8b39beff8ac592d64.tar.gz
SERVER-62234 Address small issues when building in C++20 with VS 2022
Diffstat (limited to 'src/third_party/mozjs')
-rw-r--r--src/third_party/mozjs/SConscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/third_party/mozjs/SConscript b/src/third_party/mozjs/SConscript
index aa958ce14c0..ba1afcd6793 100644
--- a/src/third_party/mozjs/SConscript
+++ b/src/third_party/mozjs/SConscript
@@ -68,8 +68,7 @@ if env.TargetOSIs('windows'):
# 'operator': unsafe use of type 'type' in operation
'/wd4804',
- ],
- CXXFLAGS=[
+
# TODO(SERVER-59417): Override any potentially applied
# C++20 switch to unconditionally build in C++17 mode, at
# least until MozJS is upgraded to an ESR that can be