summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2021-03-14 18:10:51 +0100
committerJan Dittberner <jandd@cacert.org>2021-03-14 18:10:51 +0100
commit32f271ca7a5836815dcc4d0997b13f5401aa4562 (patch)
treeaa4b5247f804302a8bbd2854bc8be4f20f9eb623 /Makefile
parent96797ec4efba7a541c11bd3d015bd4996362c451 (diff)
downloadcacert-boardvoting-32f271ca7a5836815dcc4d0997b13f5401aa4562.tar.gz
cacert-boardvoting-32f271ca7a5836815dcc4d0997b13f5401aa4562.tar.xz
cacert-boardvoting-32f271ca7a5836815dcc4d0997b13f5401aa4562.zip
Remove old assets, improve Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c69f2b7..73104a6 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ GOFILES = $(shell find . -type f -name '*.go')
all: cacert-boardvoting
cacert-boardvoting: ${GOFILES}
- go build -o $@ -x -ldflags " -X 'main.version=${VERSION}' -X 'main.build=${BUILD}'"
+ go build -o $@ -buildmode=pie -trimpath -x -ldflags " -s -w -X 'main.version=${VERSION}' -X 'main.build=${BUILD}'"
clean:
rm -f cacert-boardvoting