restic/0001-restic-uos-add-sw_64-and-mips64el.patch
zhangshaoning 4432c6758b Add sw_64 and mips64el support
(cherry picked from commit 53b486415735a2d55fa6f21f75ffa55e013059ae)
2025-03-11 09:44:14 +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...)