1
0
mirror of https://github.com/golang/go synced 2024-09-30 20:28:32 -06: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
GC=$(O)g
AS=$(O)a
AR=6ar # sic
AR=gopack
LIB=runtime.a
@ -74,6 +74,7 @@ HFILES=\
$(GOOS)/$(GOARCH)/defs.h\
install: $(LIB) runtime.acid
test -d $(GOROOT)/pkg && mkdir -p $(GOROOT)/pkg/$(GOOS)_$(GOARCH)
cp $(LIB) $(GOROOT)/pkg/$(GOOS)_$(GOARCH)/$(LIB)
cp runtime.acid $(GOROOT)/acid/runtime.acid