summaryrefslogtreecommitdiff
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:51:32 -0400
commit55552c72286203c8280da91395c46b29c6535009 (patch)
treefb992abd95f2f7c3bf900bb0629c7a09b35676a5
parent5441f9de6ffcde3ce46ef7af5d00ea7c951142b9 (diff)
downloadmongo-55552c72286203c8280da91395c46b29c6535009.tar.gz
SERVER-29516 Specify target OS minimum for go tools build
(cherry picked from commit db55e668d87d66b171c310241bdbcabfa790e2cf)
-rw-r--r--etc/evergreen.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 866ac7d0617..e1c4fa22ea3 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -3263,6 +3263,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++
test_flags: --continue-on-failure
tasks:
@@ -3328,7 +3329,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_unittests: $(sysctl -n hw.logicalcpu)
test_flags: --continue-on-failure
@@ -3397,6 +3398,7 @@ buildvariants:
push_name: osx-debug
push_arch: x86_64
test_flags: --continue-on-failure
+ 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