gcc/libgo/go
Ian Lance Taylor 931f434a72 re PR go/66904 (cmd/go: "#cgo pkg-config:" comments do not work with gccgo)
PR go/66904
    cmd/go: fix "#cgo pkg-config:" comments with gccgo
    
    Copy of https://golang.org/cl/18790 by Michael Hudson-Doyle.
    
    The unique difficulty of #cgo pkg-config is that the linker flags are recorded
    when the package is compiled but (obviously) must be used when the package is
    linked into an executable -- so the flags need to be stored on disk somewhere.
    As it happens cgo already writes out a _cgo_flags file: nothing uses it
    currently, but this change adds it to the lib$pkg.a file when compiling a
    package, reads it out when linking (and passes a version of the .a file with
    _cgo_flags stripped out of it to the linker). It's all fairly ugly but it works
    and I can't really think of any way of reducing the essential level of
    ugliness.
    
    Update golang/go#11739.
    GCC PR 66904.

    Reviewed-on: https://go-review.googlesource.com/19431

From-SVN: r233290
2016-02-10 18:30:27 +00:00
..
archive libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
bufio libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
builtin runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
bytes libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
cmd re PR go/66904 (cmd/go: "#cgo pkg-config:" comments do not work with gccgo) 2016-02-10 18:30:27 +00:00
compress libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
container
crypto libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
database/sql libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
debug libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
encoding libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
errors
exp
expvar runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
flag runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
fmt libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
hash libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
html libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
image libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
index/suffixarray
internal libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
io libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
log libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
math libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
mime libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
net libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
old
os libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
path libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
reflect libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
regexp libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
runtime libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
sort libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
strconv libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
strings libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
sync libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
syscall libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
testing libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
text libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
time libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
unicode libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00