aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gb/buildmode-pie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gb/buildmode-pie.patch')
-rw-r--r--testing/gb/buildmode-pie.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/gb/buildmode-pie.patch b/testing/gb/buildmode-pie.patch
new file mode 100644
index 0000000000..37db8e4c55
--- /dev/null
+++ b/testing/gb/buildmode-pie.patch
@@ -0,0 +1,11 @@
+--- ./context.go.orig
++++ ./context.go
+@@ -146,7 +146,7 @@
+ ctx := Context{
+ Project: p,
+ workdir: workdir,
+- buildmode: "exe",
++ buildmode: "pie",
+ pkgs: make(map[string]*Package),
+ }
+