• Russ Cox's avatar
    cmd/dist: make cc rule match what cmd/go uses · 7b4ac31c
    Russ Cox authored
    We added -I$GOROOT/pkg/$GOOS_$GOARCH in cmd/go
    (I think for use by cgo and swig, primarily) but didn't
    update cmd/dist. I was testing some other code and
    found that my changes built with cmd/go but failed
    during the initial bootstrap. Make them match again.
    
    R=golang-dev, iant
    CC=golang-dev
    https://golang.org/cl/7707044
    7b4ac31c
build.c 36.4 KB