Skip to content

Commit

Permalink
Build with v2 extensions
Browse files Browse the repository at this point in the history
Enables older CPUs (2008-2013) to take advantage of certain hardware accelerators.
Closes #828
  • Loading branch information
zp authored and rfjakob committed Apr 18, 2024
1 parent 7883d38 commit f5007b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5007b2

Please sign in to comment.