restic/0001-restic-uos-add-sw_64-and-mips64el.patch
2025-02-28 14:26:39 +08:00

13 lines
313 B
Diff

diff -Naur a/build.go b/build.go
--- a/build.go 2023-10-30 02:50:07.000000000 +0800
+++ b/build.go 2024-12-10 19:36:17.460157795 +0800
@@ -127,7 +127,7 @@
a := []string{"build", "-trimpath"}
if enablePIE {
- a = append(a, "-buildmode=pie")
+ a = append(a, "-buildmode=exe")
}
a = append(a, args...)