mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
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>
This commit is contained in:
parent
ffd53fd60e
commit
f80100b242
@ -0,0 +1,13 @@
|
||||
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
|
||||
@ -21,6 +21,8 @@ IUSE="devtools"
|
||||
# Does all kinds of wonky stuff like connecting to Docker daemon, network activity, ...
|
||||
RESTRICT+=" test"
|
||||
|
||||
PATCHES=( "${FILESDIR}/go-ethereum-1.16.7-dont-strip.patch" )
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv "${S}/.mod" "${WORKDIR}/go-mod" || die
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user