summaryrefslogtreecommitdiff
path: root/databases/mongodb44/files/extrapatch-SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mongodb44/files/extrapatch-SConstruct')
-rw-r--r--databases/mongodb44/files/extrapatch-SConstruct11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mongodb44/files/extrapatch-SConstruct b/databases/mongodb44/files/extrapatch-SConstruct
new file mode 100644
index 000000000000..f82c38ad98f8
--- /dev/null
+++ b/databases/mongodb44/files/extrapatch-SConstruct
@@ -0,0 +1,11 @@
+--- SConstruct.orig 2023-05-10 02:21:42 UTC
++++ SConstruct
+@@ -2297,7 +2297,7 @@ if env.ToolchainIs('GCC', 'clang'):
+ elif env['TARGET_ARCH'] == 'aarch64':
+ # If we are using GCC or clang to target aarch64, set the arch to be armv8.2-a,
+ # This is to prevent a bug with WT see SERVER-71772 for more details
+- env.Append( CCFLAGS=['-march=armv8.2-a', '-mtune=generic'] )
++ env.Append( CCFLAGS=['-march=armv8-a+crc', '-mtune=generic'] )
+
+ # Needed for auth tests since key files are stored in git with mode 644.
+ if not env.TargetOSIs('windows'):