]> Cypherpunks repositories - gostls13.git/commitdiff
Fix Makefile in runtime to create proper /pkg subdir.
authorKai Backman <kaib@golang.org>
Mon, 8 Jun 2009 17:38:49 +0000 (10:38 -0700)
committerKai Backman <kaib@golang.org>
Mon, 8 Jun 2009 17:38:49 +0000 (10:38 -0700)
R=rsc
APPROVED=rsc
DELTA=2  (1 added, 0 deleted, 1 changed)
OCL=30043
CL=30043

src/lib/runtime/Makefile

index d4652a34f2f7c850142d32f5b424597873782c63..5a5ace9c571f2f4e69782107defe8799183cc7dc 100644 (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