From b2724070d95234a8cd281f275211e0f827a8bbe1 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 16 Aug 2021 18:40:48 +0200 Subject: reverse mode: implement -one-file-system Fixes https://github.com/rfjakob/gocryptfs/issues/475 --- crossbuild.bash | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'crossbuild.bash') diff --git a/crossbuild.bash b/crossbuild.bash index 0904d54..43bfd32 100755 --- a/crossbuild.bash +++ b/crossbuild.bash @@ -5,7 +5,8 @@ cd "$(dirname "$0")" export GO111MODULE=on -B="go build -tags without_openssl" +# Discard resulting binary by writing to /dev/null +B="go build -tags without_openssl -o /dev/null" set -x @@ -26,6 +27,3 @@ GOOS=darwin GOARCH=amd64 $B if go tool dist list | grep ios/arm64 ; then GOOS=darwin GOARCH=arm64 $B fi - -# The cross-built binary is not useful on the compile host. -rm gocryptfs -- cgit v1.2.3