summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/mongo/gotools/src/github.com/mongodb/mongo-tools/set_goenv.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/set_goenv.sh b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/set_goenv.sh
index c2c8ed99183..f8253064879 100755
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/set_goenv.sh
+++ b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/set_goenv.sh
@@ -111,7 +111,8 @@ buildflags() {
UNAME_S=$(PATH="/usr/bin:/bin" uname -s)
case $UNAME_S in
Linux)
- flags="-buildmode=pie"
+ # SPLUNK - gcc go does not have support for buildmode
+ # flags="-buildmode=pie"
;;
esac
echo "$flags"