From 5c43cb4a04c6df2de851fe7a739bcaeb27b8668c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Valenduc?= Date: Fri, 2 May 2025 13:13:20 +0200 Subject: dev-db/mongodb: add 7.0.18 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/882515 Signed-off-by: François Valenduc Part-of: https://github.com/gentoo/gentoo/pull/41580 Signed-off-by: Sam James --- dev-db/mongodb/files/extrapatch-sconstruct.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dev-db/mongodb/files/extrapatch-sconstruct.patch (limited to 'dev-db/mongodb/files/extrapatch-sconstruct.patch') diff --git a/dev-db/mongodb/files/extrapatch-sconstruct.patch b/dev-db/mongodb/files/extrapatch-sconstruct.patch new file mode 100644 index 000000000000..21c09bc5c9a1 --- /dev/null +++ b/dev-db/mongodb/files/extrapatch-sconstruct.patch @@ -0,0 +1,16 @@ +--- a/SConstruct ++++ b/SConstruct +@@ -3217,8 +3205,12 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too + # setting it for both C and C++ by setting both of CFLAGS and + # CXXFLAGS. + ++ arm_march_flag = "armv8-a" ++ if get_option('use-hardware-crc32') == "on": ++ arm_march_flag += "+crc" ++ + default_targeting_flags_for_architecture = { +- "aarch64": {"-march=": "armv8.2-a", "-mtune=": "generic"}, ++ "aarch64": {"-march=": arm_march_flag, "-mtune=": "generic"}, + "i386": {"-march=": "nocona", "-mtune=": "generic"}, + "ppc64le": {"-mcpu=": "power8", "-mtune=": "power8", "-mcmodel=": "medium"}, + "s390x": {"-march=": "z196", "-mtune=": "zEC12"}, -- cgit v1.2.3