mirror of
https://github.com/golang/go
synced 2024-11-22 03:54:39 -07:00
gc: fix mkbuiltin
Broken by Plan 9 changes. R=ken2 CC=golang-dev https://golang.org/cl/4896050
This commit is contained in:
parent
42e6c03fc5
commit
cf79411b1d
@ -65,3 +65,7 @@ opnames.h: mkopnames go.h
|
||||
./mkopnames go.h >opnames.h
|
||||
|
||||
CLEANFILES+=*.[568] [568].out y1.tab.c yerr.h mkbuiltin1 builtin.c _builtin.c opnames.h
|
||||
|
||||
mkbuiltin1: mkbuiltin1.$O
|
||||
$(HOST_LD) -o $@ mkbuiltin1.$O -L"$(GOROOT)"/lib -lbio -l9 -lm $(HOST_LDFLAGS)
|
||||
|
||||
|
@ -16,7 +16,7 @@ if [ -z "$GC" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
gcc -o mkbuiltin1 mkbuiltin1.c
|
||||
gomake mkbuiltin1
|
||||
rm -f _builtin.c
|
||||
for i in runtime unsafe
|
||||
do
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
void esc(char*);
|
||||
|
||||
int
|
||||
void
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
char *name;
|
||||
@ -64,13 +64,13 @@ begin:
|
||||
}
|
||||
|
||||
esc(p);
|
||||
printf("\\n\"\n", p);
|
||||
printf("\\n\"\n");
|
||||
}
|
||||
sysfatal("did not find end of imports\n");
|
||||
|
||||
end:
|
||||
printf("\t\"$$\\n\";\n");
|
||||
return 0;
|
||||
exits(0);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user