0
mongodb-docker/0002-Removed_AVX-2_CCFLAG_from_mozjs.patch
2025-04-11 18:57:26 +03:00

14 lines
470 B
Diff

--- a/src/third_party/mozjs/SConscript
+++ b/src/third_party/mozjs/SConscript
@@ -146,10 +146,6 @@
"extract/js/src/wasm/WasmCode-platform.cpp",
]
-if env['TARGET_ARCH'] == 'x86_64' and not env.TargetOSIs('windows'):
- env.Append(CCFLAGS=['-mavx2'])
- sources.extend(["extract/mozglue/misc/SIMD_avx2.cpp", "extract/mozglue/misc/SSE.cpp"])
-
if env.TargetOSIs('windows'):
sources.extend([
"extract/mozglue/misc/ConditionVariable_windows.cpp",