summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Streets <jonathan.streets@10gen.com>2021-02-26 13:50:07 -0500
committerJon Streets <jonathan.streets@10gen.com>2021-02-26 13:50:07 -0500
commitf8272881dcd59e6cd4d48f1989d255c36cbf394e (patch)
tree1e7aa0c2c3c74080f9709f86155085056217f8c9
parent7e5fad1cf642eb7fc1ce0c482984ba9b720fc2e9 (diff)
downloadmongo-f8272881dcd59e6cd4d48f1989d255c36cbf394e.tar.gz
Remove buildmode flag for Linux3.6.17-linux-splunk-v3
-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"