summaryrefslogtreecommitdiff
path: root/data/golang/defaultcc.diff
blob: 13dd53389fe04dbc0b0b17ce4609115c4cbdc7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur go/src/cmd/dist/buildgo.go go+iPhone/src/cmd/dist/buildgo.go
--- go/src/cmd/dist/buildgo.go	2019-04-11 23:35:26.000000000 +0000
+++ go+iPhone/src/cmd/dist/buildgo.go	2019-05-09 16:49:19.806434227 +0000
@@ -67,7 +67,7 @@
 		fmt.Fprintf(&buf, "\tcase %q:\n\t\treturn %q\n", k, defaultcc[k])
 	}
 	fmt.Fprintf(&buf, "\t}\n")
-	fmt.Fprintf(&buf, "\treturn %q\n", defaultcc[""])
+	fmt.Fprintf(&buf, "\treturn %q\n", "clang")
 	fmt.Fprintf(&buf, "}\n")
 
 	return buf.String()