Skip to content

Instantly share code, notes, and snippets.

@leapar
Created September 19, 2017 01:06
Show Gist options
  • Save leapar/f53e802a574af74b1c73d786a20e26b4 to your computer and use it in GitHub Desktop.
Save leapar/f53e802a574af74b1c73d786a20e26b4 to your computer and use it in GitHub Desktop.

mac 编译 telegraf

  1. -i -ldflags="-linkmode internal" -gcflags "-N -l"
  2. CGO_ENABLED=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment