diff options
author | Jakob Unterwurzacher | 2021-08-16 18:40:48 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-16 19:23:58 +0200 |
commit | b2724070d95234a8cd281f275211e0f827a8bbe1 (patch) | |
tree | 0c4efc4714d0826ac99ec40c905a111c9f9c7015 /crossbuild.bash | |
parent | ad4b99170b9ad438909f5cba8c32109a18697a7a (diff) |
reverse mode: implement -one-file-system
Fixes https://github.com/rfjakob/gocryptfs/issues/475
Diffstat (limited to 'crossbuild.bash')
-rwxr-xr-x | crossbuild.bash | 6 |
1 files changed, 2 insertions, 4 deletions
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 |