update sing-box-git

This commit is contained in:
bgme 2023-06-12 11:07:59 +08:00
parent ecde98c56b
commit dace7689e8

View file

@ -44,11 +44,13 @@ _tags=with_gvisor,with_quic,with_wireguard,with_utls,with_reality_server,with_cl
build() {
cd "${srcdir}/${_pkgname}"
export COMMIT=$(git rev-parse --short HEAD)
export VERSION=$(go run ./cmd/internal/read_tag)
export CGO_CPPFLAGS="$CPPFLAGS"
export CGO_CFLAGS="$CFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export CGO_LDFLAGS="$LDFLAGS"
export VERSION=$(go run ./cmd/internal/read_tag)
go build \
-v \