]> Cypherpunks repositories - gostls13.git/commitdiff
build: remove old cgo files
authorRuss Cox <rsc@golang.org>
Sun, 6 Mar 2011 22:04:24 +0000 (17:04 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 6 Mar 2011 22:04:24 +0000 (17:04 -0500)
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

src/Make.pkg

index d912b690438b96f9e38f148882a77aa02d433366..3d616ca9992dff3603fc1dfe4cb2fb2210c8befe 100644 (file)
@@ -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