summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-17 12:18:51 +0300
committerGitHub <[email protected]>2020-02-17 12:18:51 +0300
commit691e937bcaf089e33e11e7f5528e7e736f500d0a (patch)
tree63a3e2dd75635cd461dec4f44a87936c9d42db42 /build.sh
parent54ca82d7591a93fcea25951e502134243258a4b1 (diff)
parent024807789ee7b493aaa0e9d71c27eea32f2f64fa (diff)
Merge pull request #250 from spiral/rr_1.6.1v1.6.1
release 1.6.1
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 2ca858e2..8015a481 100755
--- a/build.sh
+++ b/build.sh
@@ -8,6 +8,8 @@ RR_VERSION=1.6.0
# Hardcode some values to the core package
LDFLAGS="$LDFLAGS -X github.com/spiral/roadrunner/cmd/rr/cmd.Version=${RR_VERSION}"
LDFLAGS="$LDFLAGS -X github.com/spiral/roadrunner/cmd/rr/cmd.BuildTime=$(date +%FT%T%z)"
+# remove debug info from binary as well as string and symbol tables
+LDFLAGS="$LDFLAGS -s"
build(){
echo Packaging $1 Build