x86_64.sh 258 B

123456789
  1. #!/bin/bash
  2. source "bin/init/env.sh"
  3. source "bin/plugin/wireguard/build.sh"
  4. DIR="$ROOT/x86_64"
  5. mkdir -p $DIR
  6. env CC=$ANDROID_X86_64_CC GOARCH=amd64 go build -x -o $DIR/$LIB_OUTPUT -trimpath -ldflags="-s -w -buildid="
  7. $ANDROID_X86_64_STRIP $DIR/$LIB_OUTPUT