aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Rasmussen2015-02-22 11:28:00 +0100
committerPetter Rasmussen2015-02-22 11:28:00 +0100
commit6e7d08ea4e07a13cf18d89a069b1dbd42322c615 (patch)
treea1e75168c5add61b7d39ce44d6d7247334970d75
parent854b9e57cc14241f31ee299ea129ff6081968568 (diff)
downloadgdrive-6e7d08ea4e07a13cf18d89a069b1dbd42322c615.tar.bz2
Strip debugging information
-rwxr-xr-xbuild-all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-all.sh b/build-all.sh
index 272d824..bffb11f 100755
--- a/build-all.sh
+++ b/build-all.sh
@@ -33,7 +33,7 @@ for PLATFORM in $PLATFORMS; do
unset GOARM
fi
- BUILD_CMD="go-${GOOS}-${GOARCH} build -o bin/${BIN_NAME} $APP_NAME.go"
+ BUILD_CMD="go-${GOOS}-${GOARCH} build -ldflags "-w" -o bin/${BIN_NAME} $APP_NAME.go"
echo "Building $BIN_NAME"
$BUILD_CMD &