1
0
mirror of https://github.com/golang/go synced 2024-11-22 12:34:48 -07:00

make acid build with bison.

ask for bison explicitly in cc, gc to try to
avoid problems with other yaccs that
might be installed.

R=r
DELTA=29  (10 added, 2 deleted, 17 changed)
OCL=22110
CL=22113
This commit is contained in:
Russ Cox 2009-01-06 09:53:30 -08:00
parent 4dee747fb9
commit 859ba57bbb
2 changed files with 2 additions and 5 deletions

View File

@ -10,7 +10,6 @@ LIB=\
HFILES=\
cc.h\
y.tab.h\
compat.h\
YFILES=\
cc.y\
@ -28,10 +27,8 @@ OFILES=\
funct.$O\
sub.$O\
com64.$O\
compat.$O\
dpchk.$O\
omachcap.$O\
compat.$O\
$(LIB): $(OFILES)
ar rsc $(LIB) $(OFILES)
@ -39,7 +36,7 @@ $(LIB): $(OFILES)
$(OFILES): $(HFILES)
y.tab.h: $(YFILES)
yacc $(YFLAGS) $(YFILES)
bison -y $(YFLAGS) $(YFILES)
y.tab.c: y.tab.h
test -f y.tab.c && touch y.tab.c

View File

@ -34,7 +34,7 @@ $(LIB): $(OFILES)
$(OFILES): $(HFILES)
y.tab.h: $(YFILES)
yacc $(YFLAGS) $(YFILES)
bison -y $(YFLAGS) $(YFILES)
y.tab.c: y.tab.h
test -f y.tab.c && touch y.tab.c