diff options
| -rw-r--r-- | build.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 + " " |
