summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Golden <xdg@xdg.me>2019-01-28 11:13:15 -0500
committerDavid Golden <xdg@xdg.me>2019-01-28 11:13:22 -0500
commitebccd7776c2aacfc94fd5480cdc084f24b30a5a0 (patch)
treea258ca1c22a537ca5397f2a44e2ced2dc742a7e7
parentcdf319123d8e5d3cd169e2a11aec6aea0b951bf1 (diff)
downloadmongo-ebccd7776c2aacfc94fd5480cdc084f24b30a5a0.tar.gz
TOOLS-2210 Build tools with ASLR
-rw-r--r--etc/evergreen.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index a26137de341..bbd225862f4 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -958,7 +958,7 @@ functions:
fi
for i in $build_tools; do
- go build -ldflags "$(print_ldflags)" ${args} -tags "$(print_tags ${tooltags})" -o "../../../../../../mongo-tools/$i${exe|}" $i/main/$i.go
+ go build -ldflags "$(print_ldflags)" -buildmode=pie ${args} -tags "$(print_tags ${tooltags})" -o "../../../../../../mongo-tools/$i${exe|}" $i/main/$i.go
"../../../../../../mongo-tools/$i${exe|}" --version
done