diff options
Diffstat (limited to 'test/run.go')
-rw-r--r-- | test/run.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/run.go b/test/run.go index 2fa206746b..e3cb684e55 100644 --- a/test/run.go +++ b/test/run.go @@ -728,6 +728,9 @@ func (t *test) run() { } var objs []string cmd := []string{"go", "tool", "compile", "-e", "-D", ".", "-I", ".", "-o", "go.o"} + if len(asms) > 0 { + cmd = append(cmd, "-asmhdr", "go_asm.h") + } for _, file := range gos { cmd = append(cmd, filepath.Join(longdir, file.Name())) } |