mirror of
https://github.com/golang/go
synced 2024-11-26 06:07:57 -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:
parent
4dee747fb9
commit
859ba57bbb
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user