mirror of
https://github.com/golang/go
synced 2024-11-11 22:30:21 -07:00
build: more adjustments for move from src/pkg to src
These were missed in CL 134570043. Fixes nacl, solaris builds. TBR=r CC=golang-codereviews https://golang.org/cl/136320043
This commit is contained in:
parent
c007ce824d
commit
de4964a78c
@ -21,7 +21,6 @@ go src=..
|
||||
link
|
||||
testdata
|
||||
+
|
||||
pkg
|
||||
archive
|
||||
tar
|
||||
testdata
|
||||
|
@ -72,8 +72,8 @@ export GOROOT=$(pwd)/..
|
||||
|
||||
# Build zip file embedded in package syscall.
|
||||
gobin=${GOBIN:-$(pwd)/../bin}
|
||||
rm -f pkg/syscall/fstest_nacl.go
|
||||
GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH $gobin/go run ../misc/nacl/mkzip.go -p syscall -r .. ../misc/nacl/testzip.proto pkg/syscall/fstest_nacl.go
|
||||
rm -f syscall/fstest_nacl.go
|
||||
GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH $gobin/go run ../misc/nacl/mkzip.go -p syscall -r .. ../misc/nacl/testzip.proto syscall/fstest_nacl.go
|
||||
|
||||
# Run standard build and tests.
|
||||
export PATH=$(pwd)/../misc/nacl:$PATH
|
||||
|
@ -5,7 +5,7 @@
|
||||
// This file exposes various external library functions to Go code in the runtime.
|
||||
|
||||
#include "zasm_GOOS_GOARCH.h"
|
||||
#include "../../cmd/ld/textflag.h"
|
||||
#include "textflag.h"
|
||||
|
||||
TEXT runtime·libc_chdir(SB),NOSPLIT,$0
|
||||
MOVQ libc·chdir(SB), AX
|
||||
|
Loading…
Reference in New Issue
Block a user