diff options
| author | François Valenduc <francoisvalenduc@gmail.com> | 2025-05-02 13:13:20 +0200 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-06 20:10:33 +0100 |
| commit | 5c43cb4a04c6df2de851fe7a739bcaeb27b8668c (patch) | |
| tree | 0f9320fd8df80c3ee4c19a17d01063dc461ab333 /dev-db/mongodb/files/extrapatch-sconstruct.patch | |
| parent | 228a8c8a4347097e136ac25145e09a659827054b (diff) | |
| download | gentoo-5c43cb4a04c6df2de851fe7a739bcaeb27b8668c.tar.gz gentoo-5c43cb4a04c6df2de851fe7a739bcaeb27b8668c.tar.bz2 gentoo-5c43cb4a04c6df2de851fe7a739bcaeb27b8668c.zip | |
dev-db/mongodb: add 7.0.18
Bug: https://bugs.gentoo.org/882515
Signed-off-by: François Valenduc <francoisvalenduc@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41580
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/mongodb/files/extrapatch-sconstruct.patch')
| -rw-r--r-- | dev-db/mongodb/files/extrapatch-sconstruct.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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"}, |
