summaryrefslogtreecommitdiff
path: root/data/golang/defaultcc.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/golang/defaultcc.diff')
-rw-r--r--data/golang/defaultcc.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/golang/defaultcc.diff b/data/golang/defaultcc.diff
new file mode 100644
index 000000000..13dd53389
--- /dev/null
+++ b/data/golang/defaultcc.diff
@@ -0,0 +1,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()