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 rfjakob#828
  • Loading branch information
zp committed Mar 17, 2024
1 parent 8ced867 commit aca093b
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 aca093b

Please sign in to comment.