summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-11 22:39:00 +0300
committerValery Piashchynski <[email protected]>2020-02-11 22:39:00 +0300
commit6245e18258eccc0fe53725492303669005eae64a (patch)
tree23e01c5a50a1bcda07faba872e9fb4c0fa10805c /build.sh
parentc1a227d465e857bbf4ba2f5f686aadb9b6b8d348 (diff)
Fix linker coded values
Diffstat (limited to 'build.sh')
-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