27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
From 6d0f113b34e323234eeb279984af83ba98e61c10 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@redhat.com>
|
|
Date: Wed, 18 Jul 2018 09:42:28 +0200
|
|
Subject: [PATCH 3/3] Don't compress dwarf by derfault as rpm/debuginfo is not
|
|
yet ready for it.
|
|
|
|
---
|
|
src/cmd/link/internal/ld/main.go | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/cmd/link/internal/ld/main.go b/src/cmd/link/internal/ld/main.go
|
|
index 23462f1154..565da989dd 100644
|
|
--- a/src/cmd/link/internal/ld/main.go
|
|
+++ b/src/cmd/link/internal/ld/main.go
|
|
@@ -123,7 +123,7 @@ func Main(arch *sys.Arch, theArch Arch) {
|
|
flag.BoolVar(&ctxt.linkShared, "linkshared", false, "link against installed Go shared libraries")
|
|
flag.Var(&ctxt.LinkMode, "linkmode", "set link `mode`")
|
|
flag.Var(&ctxt.BuildMode, "buildmode", "set build `mode`")
|
|
- flag.BoolVar(&ctxt.compressDWARF, "compressdwarf", true, "compress DWARF if possible")
|
|
+ flag.BoolVar(&ctxt.compressDWARF, "compressdwarf", false, "compress DWARF if possible")
|
|
objabi.Flagfn1("B", "add an ELF NT_GNU_BUILD_ID `note` when using ELF", addbuildinfo)
|
|
objabi.Flagfn1("L", "add specified `directory` to library path", func(a string) { Lflag(ctxt, a) })
|
|
objabi.AddVersionFlag() // -V
|
|
--
|
|
2.14.4
|
|
|