gcc/libgo/go
Ian Lance Taylor ea9a08f5df cmd/cgo: make _cgo_flags consistent across runs
The go tool will pass -I objdir as one of the flags, where objdir is
    the temporary build directory. Remove that from _cgo_flags: we don't
    need it, and it will be different each time.
    
    Sort the flags to avoid the unpredictable map iteration order.
    
    This matters for gccgo because for a package that uses cgo, the go
    tool when building for gccgo will store the _cgo_flags file in the
    archive. That means that we want to generate identical _cgo_flags for
    every run.
    
    The test for this is the cmd/go testsuite, to follow in a future CL.
    
    Reviewed-on: https://go-review.googlesource.com/45692

From-SVN: r249199
2017-06-14 13:59:02 +00:00
..
archive
bufio
builtin
bytes Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
cmd cmd/cgo: make _cgo_flags consistent across runs 2017-06-14 13:59:02 +00:00
compress
container
context
crypto libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
database/sql libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
debug
encoding libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
errors
exp
expvar
flag
fmt
go go/build: use GCCGOTOOLDIR to find gccgo tools 2017-06-14 13:50:53 +00:00
golang_org/x
hash
html
image libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
index/suffixarray
internal internal/testenv: support testing gccgo 2017-06-14 13:47:28 +00:00
io
log
math Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mime Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
net libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
os os: use opendir64 and closedir64 on AIX 2017-05-12 00:59:15 +00:00
path Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
plugin
reflect Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
regexp
runtime runtime: don't always show frames with no function in traceback 2017-06-13 13:29:26 +00:00
sort
strconv
strings
sync
syscall Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
testing
text libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
time Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
unicode