aboutsummaryrefslogtreecommitdiff
path: root/build.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-09-08 15:50:05 +0200
committerJakob Unterwurzacher2019-09-08 15:50:05 +0200
commited230379e7af9312206b591c900ef09cb2fd1302 (patch)
treef29d2a6527d3c317300fcdd5ae8ee5fa696217e3 /build.bash
parent92ae62f9cc6c27e2e434eac1547b4b269663a56b (diff)
Expand statfs man page a little and include in build.bash
Diffstat (limited to 'build.bash')
-rwxr-xr-xbuild.bash5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.bash b/build.bash
index 5f801a2..7a5ac6f 100755
--- a/build.bash
+++ b/build.bash
@@ -87,10 +87,11 @@ if [[ -n ${LDFLAGS:-} ]] ; then
GO_LDFLAGS="$GO_LDFLAGS \"-extldflags=$LDFLAGS\""
fi
-# Actual "go build" call
+# Actual "go build" call for gocryptfs
go build "-ldflags=$GO_LDFLAGS" "-gcflags=$TRIM" "-asmflags=$TRIM" "$@"
-
+# Additional binaries
(cd gocryptfs-xray; go build "-ldflags=$GO_LDFLAGS" "-gcflags=$TRIM" "-asmflags=$TRIM" "$@")
+(cd contrib/statfs; go build "-ldflags=$GO_LDFLAGS" "-gcflags=$TRIM" "-asmflags=$TRIM" "$@")
./gocryptfs -version