diff options
author | Ronald Klop <ronald@FreeBSD.org> | 2023-08-15 11:56:07 +0200 |
---|---|---|
committer | Ronald Klop <ronald@FreeBSD.org> | 2023-08-15 12:02:53 +0200 |
commit | 32bbdaf1f437cc55439136d17ea1368f912e03f3 (patch) | |
tree | 9350cdcd5d212f24afbc577f87b060265adad556 /databases/mongodb70/files/patch-SConstruct | |
parent | math/gap: Attempt to fix the intermittent failure due to missing automake-1.16 (diff) |
databases/mongodb70: update to 7.0.0 release
Changes: https://www.mongodb.com/docs/v7.0/release-notes/7.0/
* version bump
* new option ARMV80A to support older ARM cpus like Raspberry Pi 4
* pet portclippy and portfmt
* poudriere stage-qa: ok
As upstream has stopped supporting non-LSE ARM cpus I'm adapting
the port also. The option ARMV80A is for backwards compatibility,
but use at your own risk. See pkg-message for more info.
Diffstat (limited to 'databases/mongodb70/files/patch-SConstruct')
-rw-r--r-- | databases/mongodb70/files/patch-SConstruct | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/databases/mongodb70/files/patch-SConstruct b/databases/mongodb70/files/patch-SConstruct index b5998fcb4a52..a6da48e57114 100644 --- a/databases/mongodb70/files/patch-SConstruct +++ b/databases/mongodb70/files/patch-SConstruct @@ -55,17 +55,3 @@ "-Wall", "-Wsign-compare", "-Wno-unknown-pragmas", -@@ -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"}, |