1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:44:43 -07:00

Fix Makefile in runtime to create proper /pkg subdir.

R=rsc
APPROVED=rsc
DELTA=2  (1 added, 0 deleted, 1 changed)
OCL=30043
CL=30043
This commit is contained in:
Kai Backman 2009-06-08 10:38:49 -07:00
parent b7f0580274
commit 63c2d52117

View File

@ -22,7 +22,7 @@ O=$(O_$(GOARCH))
CC=$(O)c CC=$(O)c
GC=$(O)g GC=$(O)g
AS=$(O)a AS=$(O)a
AR=6ar # sic AR=gopack
LIB=runtime.a LIB=runtime.a
@ -74,6 +74,7 @@ HFILES=\
$(GOOS)/$(GOARCH)/defs.h\ $(GOOS)/$(GOARCH)/defs.h\
install: $(LIB) runtime.acid install: $(LIB) runtime.acid
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)
cp $(LIB) $(GOROOT)/pkg/$(GOOS)_$(GOARCH)/$(LIB) cp $(LIB) $(GOROOT)/pkg/$(GOOS)_$(GOARCH)/$(LIB)
cp runtime.acid $(GOROOT)/acid/runtime.acid cp runtime.acid $(GOROOT)/acid/runtime.acid