summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2017-06-08 11:45:12 -0400
committerAndrew Morrow <acm@mongodb.com>2017-06-09 11:53:54 -0400
commit67b904ff0404ac247b8ed9e8076057fb6dbf5391 (patch)
tree4ada8872b86ccfad419eb543312a6075f0935670 /etc
parent92f6668a768ebf294bd4f494c50f48459198e6a3 (diff)
downloadmongo-67b904ff0404ac247b8ed9e8076057fb6dbf5391.tar.gz
SERVER-29516 Specify target OS minimum for go tools build
(cherry picked from commit db55e668d87d66b171c310241bdbcabfa790e2cf)
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index af17400885f..26908578b6c 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -3916,6 +3916,7 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: osx
push_arch: x86_64
+ gorootvars: CGO_CFLAGS=-mmacosx-version-min=10.7 CGO_LDFLAGS=-mmacosx-version-min=10.7
compile_flags: --allocator=system -j$(sysctl -n hw.logicalcpu) --release --osx-version-min=10.7 --libc++
num_jobs_available: 1
tasks:
@@ -4005,7 +4006,7 @@ buildvariants:
push_name: osx-ssl
push_arch: x86_64
tooltags: "-tags ssl"
- gorootvars: CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v2/include
+ gorootvars: CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v2/include CGO_CFLAGS=-mmacosx-version-min=10.7 CGO_LDFLAGS=-mmacosx-version-min=10.7
compile_flags: --ssl --allocator=system -j$(sysctl -n hw.logicalcpu) --release --osx-version-min=10.7 --libc++ CPPPATH=/opt/mongodbtoolchain/v2/include
num_jobs_available: 1
tasks:
@@ -4094,6 +4095,7 @@ buildvariants:
push_name: osx-debug
push_arch: x86_64
num_jobs_available: 1
+ gorootvars: CGO_CFLAGS=-mmacosx-version-min=10.7 CGO_LDFLAGS=-mmacosx-version-min=10.7
compile_flags: --dbg=on --opt=on --allocator=system -j$(sysctl -n hw.logicalcpu) --osx-version-min=10.7 --libc++
tasks:
- name: compile
@@ -4136,7 +4138,7 @@ buildvariants:
push_name: osx
push_arch: x86_64-enterprise
tooltags: "-tags 'ssl sasl'"
- gorootvars: CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v2/include
+ gorootvars: CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v2/include CGO_CFLAGS=-mmacosx-version-min=10.7 CGO_LDFLAGS=-mmacosx-version-min=10.7
compile_flags: --ssl --allocator=system -j$(sysctl -n hw.logicalcpu) --release --osx-version-min=10.7 --libc++ CPPPATH=/opt/mongodbtoolchain/v2/include
num_jobs_available: 1
tasks: