diff options
author | Daniel Engberg <diizzy@FreeBSD.org> | 2022-08-15 22:23:37 +0200 |
---|---|---|
committer | Daniel Engberg <diizzy@FreeBSD.org> | 2022-08-15 22:27:40 +0200 |
commit | cdca8109d6d09b7f7b8ddcba55f9e1eb09332161 (patch) | |
tree | a988210db59076c22a7ad7748f2be91f5006ba58 /databases/mongodb50/files/patch-SConstruct | |
parent | net/msoak: New port (diff) |
databases/mongodb50: Use more external libraries
Make use of following libraries in tree:
devel/boost-libs
textproc/snowballstemmer
devel/libunwind
devel/yaml-cpp
archivers/zstd
While at it remove mtune option on amd64 as it potentially overrides
CPUTYPE set by ports framework
References:
[1] https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mongodb/files/mongodb-4.4.1-boost.patch
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch
PR: 265210
Reviewed by: Ronald Klop <ronald-lists@klop.ws> (maintainer)
Diffstat (limited to 'databases/mongodb50/files/patch-SConstruct')
-rw-r--r-- | databases/mongodb50/files/patch-SConstruct | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/databases/mongodb50/files/patch-SConstruct b/databases/mongodb50/files/patch-SConstruct index fa8b0bb3ca4f..01af9a42437c 100644 --- a/databases/mongodb50/files/patch-SConstruct +++ b/databases/mongodb50/files/patch-SConstruct @@ -43,3 +43,12 @@ "i386" : { "-march=" : "nocona", "-mtune=" : "generic" }, "ppc64le" : { "-mcpu=" : "power8", "-mtune=" : "power8", "-mcmodel=" : "medium" }, "s390x" : { "-march=" : "z196", "-mtune=" : "zEC12" }, +@@ -2554,7 +2558,7 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too + if "sandybridge" in selected_experimental_optimizations: + default_targeting_flags_for_architecture["x86_64"] = { + "-march=" : "sandybridge", +- "-mtune=" : "generic", ++ # "-mtune=" : "generic", + "-mprefer-vector-width=" : "128", + } + |