diff options
author | zp | 2024-03-16 23:24:19 -0500 |
---|---|---|
committer | rfjakob | 2024-04-18 18:55:23 +0200 |
commit | f5007b28c366d1a9671146710975679a154f30f8 (patch) | |
tree | 584d0a770c4cdc9545bd277cbd6273ca5a4ae30f | |
parent | 7883d383d842707994b664f4d56ffbe833d3dc52 (diff) |
Build with v2 extensions
Enables older CPUs (2008-2013) to take advantage of certain hardware accelerators.
Closes #828
-rwxr-xr-x | build.bash | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -85,6 +85,9 @@ if [[ -n ${LDFLAGS:-} ]] ; then GO_LDFLAGS="$GO_LDFLAGS \"-extldflags=$LDFLAGS\"" fi +# Set GOAMD64 version to v2 +export GOAMD64=v2 + # Actual "go build" call for gocryptfs go build "-ldflags=$GO_LDFLAGS" "$@" # Additional binaries |