summaryrefslogtreecommitdiff
path: root/databases/mongodb44/files/extrapatch-SConstruct
blob: f82c38ad98f8674c1783705e122753259fc6de34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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'):