From: Rob Pike Date: Thu, 22 Oct 2009 18:52:35 +0000 (-0700) Subject: fix build: no acid X-Git-Tag: weekly.2009-11-06~224 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8a20cfc0094cfb852410db201ca195b87847d100;p=gostls13.git fix build: no acid R=rsc http://go/go-review/1014005 --- diff --git a/src/pkg/runtime/Makefile b/src/pkg/runtime/Makefile index cfc65e88ad..1708b86b2a 100644 --- a/src/pkg/runtime/Makefile +++ b/src/pkg/runtime/Makefile @@ -84,7 +84,7 @@ clean: clean-local clean-local: rm -f cgo2c */asm.h -$(GOARCH)/asm.h: mkasmh.sh +$(GOARCH)/asm.h: mkasmh.sh runtime.acid ./mkasmh.sh >$@.x mv -f $@.x $@ @@ -110,4 +110,6 @@ cgo2c: cgo2c.c %.$O: $(GOOS)/$(GOARCH)/%.s $(GOARCH)/asm.h $(AS) $< - +# for discovering offsets inside structs when debugging +runtime.acid: runtime.h proc.c + $(CC) -a proc.c >runtime.acid