mirror of
https://github.com/golang/go
synced 2024-11-24 22:47:58 -07:00
mkbuiltin: generate builtin.c directly
R=golang-dev, rsc https://golang.org/cl/173041
This commit is contained in:
parent
d5b7d776b5
commit
8b3b1edc04
@ -55,7 +55,7 @@ y.tab.c: y.tab.h
|
||||
test -f y.tab.c && touch y.tab.c
|
||||
|
||||
builtin.c: runtime.go unsafe.go mkbuiltin1.c mkbuiltin
|
||||
./mkbuiltin >builtin.c || \
|
||||
./mkbuiltin || \
|
||||
(echo 'mkbuiltin failed; using bootstrap copy of builtin.c'; cp builtin.c.boot builtin.c)
|
||||
|
||||
subr.$O: opnames.h
|
||||
|
@ -35,6 +35,4 @@ ken | r | rsc)
|
||||
fi
|
||||
esac
|
||||
|
||||
cat _builtin.c
|
||||
rm -f _builtin.c
|
||||
|
||||
mv _builtin.c builtin.c
|
||||
|
Loading…
Reference in New Issue
Block a user