mirror of
https://github.com/golang/go
synced 2024-11-23 00:20:12 -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:
parent
b7f0580274
commit
63c2d52117
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user