Skip to content

Commit

Permalink
-buildvcs=false for libhysteria2
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan committed Jan 9, 2025
1 parent 04d8ca8 commit 463ee16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libhysteria2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for target in "${targets[@]}"; do

echo "Building for ${abi} with ${ndk_target} (${goarch})"

CC="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/${ndk_target}-clang" CGO_ENABLED=1 CGO_LDFLAGS="-Wl,-z,max-page-size=16384" GOOS=android GOARCH=$goarch go build -o libs/$abi/libhysteria2.so -trimpath -ldflags "-s -w -buildid=" ./app
CC="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/${ndk_target}-clang" CGO_ENABLED=1 CGO_LDFLAGS="-Wl,-z,max-page-size=16384" GOOS=android GOARCH=$goarch go build -o libs/$abi/libhysteria2.so -trimpath -ldflags "-s -w -buildid=" -buildvcs=false ./app

echo "Built libhysteria2.so for ${abi}"
done

0 comments on commit 463ee16

Please sign in to comment.