> + # On linux/amd64 run.bash installs some race enabled standard library > + # packages. Delete them again to avoid accidentally including them in > + # the package. > + rm -rf "$(GOROOT)/pkg/linux_amd64_race/"
This seems like the most correct solution to me, but I'm a little confused about why we're hard-coding "linux_amd64" here -- shouldn't this be "$(GOOS)_$(GOARCH)" so that it's whatever architecture we build on? Or perhaps "$(GOROOT)"/pkg/*_race/ ? ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4