From b97005c1d3220c5687a0c750c54d9c7868493429 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 14 Jan 2011 10:51:47 -0800 Subject: [PATCH] runtime/cgo: Don't define crosscall2 in dummy _cgo_main.c. In this specific package crosscall2 is already defined in a .S file anyhow. This avoids a warning about mismatched alignment. R=rsc CC=golang-dev https://golang.org/cl/4000043 --- src/pkg/runtime/cgo/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pkg/runtime/cgo/Makefile b/src/pkg/runtime/cgo/Makefile index 55b6967d92..dc9ffb4119 100644 --- a/src/pkg/runtime/cgo/Makefile +++ b/src/pkg/runtime/cgo/Makefile @@ -48,7 +48,6 @@ _cgo_defun.c: _cgo_main.c: echo 'int main() { return 0; }' >$@ - echo 'void *crosscall2;' >>$@ endif $(GOARCH).o: $(GOARCH).S -- 2.50.0