summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-11 22:39:00 +0300
committerValery Piashchynski <[email protected]>2020-02-11 22:40:29 +0300
commitcb006db6c6fb2b1b1b25445d67faaa2d6cd24801 (patch)
tree8401092b8449b7f93cfc6a04c0ff2842c49a6e0a
parent225791781717d15587e0063dc5329e3a01ea364d (diff)
Fix linker coded valuesv1.6.0
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index a27da775..2ca858e2 100755
--- a/build.sh
+++ b/build.sh
@@ -45,4 +45,4 @@ if [ "$1" == "all" ]; then
exit
fi
-go build -o "$OD/rr" cmd/rr/main.go
+go build -ldflags "$LDFLAGS" -o "$OD/rr" cmd/rr/main.go