aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-03-06 17:04:24 -0500
committerRuss Cox <rsc@golang.org>2011-03-06 17:04:24 -0500
commit59d2acd2d4a3434f49daaa478f2fab1e29f362db (patch)
tree705c580d640a2b65938c61f312b831a99b603f4a
parent6afe7eba32c06022ef11ab0307d6b3361b59a8f0 (diff)
downloadgo-59d2acd2d4a3434f49daaa478f2fab1e29f362db.tar.gz
go-59d2acd2d4a3434f49daaa478f2fab1e29f362db.zip
build: remove old cgo files
Cgo changed to write these files into _obj, but some trees may still have the old ones in the source directory. They need to be removed during make clean so that a subsequent build will use the ones in _obj. R=r, r2 CC=golang-dev https://golang.org/cl/4254056
-rw-r--r--src/Make.pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Make.pkg b/src/Make.pkg
index d912b69043..3d616ca999 100644
--- a/src/Make.pkg
+++ b/src/Make.pkg
@@ -47,7 +47,7 @@ coverage:
gotest
6cov -g $(shell pwd) $O.out | grep -v '_test\.go:'
-CLEANFILES+=*.so _obj _test _testmain.go *.exe _cgo*
+CLEANFILES+=*.so _obj _test _testmain.go *.exe _cgo* *.cgo[12].*
test:
gotest