update sing-box-git
This commit is contained in:
parent
ecde98c56b
commit
dace7689e8
|
@ -44,11 +44,13 @@ _tags=with_gvisor,with_quic,with_wireguard,with_utls,with_reality_server,with_cl
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${_pkgname}"
|
cd "${srcdir}/${_pkgname}"
|
||||||
|
|
||||||
|
export COMMIT=$(git rev-parse --short HEAD)
|
||||||
|
export VERSION=$(go run ./cmd/internal/read_tag)
|
||||||
|
|
||||||
export CGO_CPPFLAGS="$CPPFLAGS"
|
export CGO_CPPFLAGS="$CPPFLAGS"
|
||||||
export CGO_CFLAGS="$CFLAGS"
|
export CGO_CFLAGS="$CFLAGS"
|
||||||
export CGO_CXXFLAGS="$CXXFLAGS"
|
export CGO_CXXFLAGS="$CXXFLAGS"
|
||||||
export CGO_LDFLAGS="$LDFLAGS"
|
export CGO_LDFLAGS="$LDFLAGS"
|
||||||
export VERSION=$(go run ./cmd/internal/read_tag)
|
|
||||||
|
|
||||||
go build \
|
go build \
|
||||||
-v \
|
-v \
|
||||||
|
|
Loading…
Reference in a new issue