1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:27:56 -07:00

mkbuiltin: generate builtin.c directly

R=golang-dev, rsc
https://golang.org/cl/173041
This commit is contained in:
Yongjian Xu 2009-12-11 12:41:33 -08:00 committed by Russ Cox
parent d5b7d776b5
commit 8b3b1edc04
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -35,6 +35,4 @@ ken | r | rsc)
fi
esac
cat _builtin.c
rm -f _builtin.c
mv _builtin.c builtin.c