diff --git a/build.go b/build.go index 4dd53f8..bf09762 100644 --- a/build.go +++ b/build.go @@ -106,6 +106,8 @@ func buildPackage(repo *gitpb.Repo) (bool, error) { // add some standard golang flags var ldflags string if argv.Release { + // * -w: Omit the DWARF symbol table. + // * -s: Omit the symbol table and debug information. ldflags += "-s -w " } ldflags += "-X main.VERSION=" + version + " "