mirror of
https://github.com/golang/go
synced 2024-11-26 06:07:57 -07:00
The flag and fmt libraries are now available from gccgo by
default. Fix PRETTY_OBJS to include compilation.o rather than compilation.go. R=gri DELTA=10 (0 added, 8 deleted, 2 changed) OCL=20248 CL=20257
This commit is contained in:
parent
28a30254e7
commit
748287d49e
@ -11,14 +11,12 @@ LDFLAGS = -Wl,-R,/home/iant/go/lib
|
|||||||
PRETTY_OBJS = \
|
PRETTY_OBJS = \
|
||||||
ast.o \
|
ast.o \
|
||||||
pretty.o \
|
pretty.o \
|
||||||
compilation.go \
|
compilation.o \
|
||||||
parser.o \
|
parser.o \
|
||||||
platform.o \
|
platform.o \
|
||||||
printer.o \
|
printer.o \
|
||||||
scanner.o \
|
scanner.o \
|
||||||
utils.o \
|
utils.o
|
||||||
flag.o \
|
|
||||||
fmt.o \
|
|
||||||
|
|
||||||
pretty: $(PRETTY_OBJS)
|
pretty: $(PRETTY_OBJS)
|
||||||
$(GO) $(LDFLAGS) -o $@ $(PRETTY_OBJS)
|
$(GO) $(LDFLAGS) -o $@ $(PRETTY_OBJS)
|
||||||
@ -48,12 +46,6 @@ platform.o: utils.o
|
|||||||
printer.o: scanner.o ast.o
|
printer.o: scanner.o ast.o
|
||||||
|
|
||||||
|
|
||||||
flag.o: fmt.o
|
|
||||||
$(GO) -O2 -c -g $(GOROOT)/src/lib/flag.go
|
|
||||||
|
|
||||||
fmt.o:
|
|
||||||
$(GO) -O2 -c -g $(GOROOT)/src/lib/fmt.go
|
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .go .o
|
.SUFFIXES: .go .o
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user