gentoo-ebuilds/net-p2p/go-ethereum/files/go-ethereum-1.16.7-dont-strip.patch
Sam Wilson f80100b242
net-p2p/go-ethereum: don't strip debug symbols
Closes: https://bugs.gentoo.org/960079
Signed-off-by: Sam Wilson <sam@binarycake.ca>
Part-of: https://github.com/gentoo/gentoo/pull/44575
Closes: https://github.com/gentoo/gentoo/pull/44575
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-12 09:40:29 +00:00

13 lines
680 B
Diff

diff --git a/build/ci.go b/build/ci.go
index 59c948a..752f440 100644
--- a/build/ci.go
+++ b/build/ci.go
@@ -322,7 +322,7 @@ func buildFlags(env build.Environment, staticLinking bool, buildTags []string) (
// regarding the options --build-id=none and --strip-all. It is needed for
// reproducible builds; removing references to temporary files in C-land, and
// making build-id reproducibly absent.
- extld := []string{"-Wl,-z,stack-size=0x800000,--build-id=none,--strip-all"}
+ extld := []string{"-Wl,-z,stack-size=0x800000,--build-id=none"}
if staticLinking {
extld = append(extld, "-static")
// Under static linking, use of certain glibc features must be