diff --git a/src/cmd/cgo/main.go b/src/cmd/cgo/main.go index 0c1c863a7a0..b992f6fae19 100644 --- a/src/cmd/cgo/main.go +++ b/src/cmd/cgo/main.go @@ -165,6 +165,7 @@ var ptrSizeMap = map[string]int64{ "ppc64le": 8, "s390": 4, "s390x": 8, + "sparc64": 8, } var intSizeMap = map[string]int64{ @@ -180,6 +181,7 @@ var intSizeMap = map[string]int64{ "ppc64le": 8, "s390": 4, "s390x": 8, + "sparc64": 8, } var cPrefix string