main: add -no-debug flag to avoid DWARF debug info

This commit is contained in:
Ayke van Laethem
2018-09-25 20:17:46 +02:00
parent 69f2cec045
commit 0e813c4cb7
2 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ func runTest(path, tmpdir string, t *testing.T) {
// Build the test binary.
binary := filepath.Join(tmpdir, "test")
err = Build(path, binary, "", false, false, "")
err = Build(path, binary, "", false, false, false, "")
if err != nil {
t.Log("failed to build:", err)
t.Fail()