1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:44:39 -07:00

build: fix spaces in GOROOT

Fixes #1413.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4007041
This commit is contained in:
Christopher Nielsen 2011-02-03 00:42:03 -05:00 committed by Russ Cox
parent 274d095121
commit 31ccf19612
2 changed files with 3 additions and 3 deletions

View File

@ -167,7 +167,7 @@ _CGO_LDFLAGS_darwin=-dynamiclib -Wl,-undefined,dynamic_lookup
_CGO_LDFLAGS_windows=-shared -lm -mthreads
# Have to compile the runtime header.
RUNTIME_CFLAGS=-I"$(pkgdir)"
RUNTIME_CFLAGS=-I$(pkgdir)
# Compile _cgo_defun.c with 6c; needs access to the runtime headers.
_cgo_defun.$O: _cgo_defun.c

View File

@ -111,7 +111,7 @@ include ../../Make.pkg
$(pkgdir)/%.h: %.h
@test -d $(QUOTED_GOROOT)/pkg && mkdir -p $(pkgdir)
cp $< $@
cp $< "$@"
clean: clean-local
@ -138,7 +138,7 @@ version_$(GOOS).go:
(echo 'package runtime'; echo 'const theGoos = "$(GOOS)"') >$@
%.c: %.goc goc2c
./goc2c `pwd`/$< > $@.tmp
./goc2c "`pwd`/$<" > $@.tmp
mv -f $@.tmp $@
%.$O: $(GOARCH)/%.c