]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix handling of asm files for -compiler=gccgo
authorIan Lance Taylor <iant@golang.org>
Tue, 19 Jan 2016 05:23:33 +0000 (21:23 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 25 Jan 2016 02:45:09 +0000 (02:45 +0000)
commit3415d0c49ddb6c48a90919eb023c71c7e82c3189
tree7709183ccce4455314bc0aca5c2817bbbb9590b6
parent9d6427d8992b05445029f95c9555820675dd2e3e
cmd/go: fix handling of asm files for -compiler=gccgo

Pass -c to generate an object.  Pass GOPKGPATH as a symbol, not a
string.  Pass -xassembler-with-cpp so that the preprocessor is run.

Change-Id: I84690a73cc580bb05724ed07c120cec9cfd5e48b
Reviewed-on: https://go-review.googlesource.com/18733
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/build.go