Commit b97005c1 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 18941a75
......@@ -48,7 +48,6 @@ _cgo_defun.c:
_cgo_main.c:
echo 'int main() { return 0; }' >$@
echo 'void *crosscall2;' >>$@
endif
$(GOARCH).o: $(GOARCH).S
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment