]> Cypherpunks repositories - gostls13.git/commitdiff
fix build: no acid
authorRob Pike <r@golang.org>
Thu, 22 Oct 2009 18:52:35 +0000 (11:52 -0700)
committerRob Pike <r@golang.org>
Thu, 22 Oct 2009 18:52:35 +0000 (11:52 -0700)
R=rsc
http://go/go-review/1014005

src/pkg/runtime/Makefile

index cfc65e88ad1b610aaecfdc9ce6b0f0b835954ac2..1708b86b2a72a1aaf53700b90cdb1a5a595b6435 100644 (file)
@@ -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