summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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