Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Sep 2023 12:20:16 +0200 (CEST)
From:      electricjozin@tutanota.com
To:        Go <go@freebsd.org>
Subject:   [Path] to ease debugging of ports utilizing go
Message-ID:  <NdKP4GS--3-9@tutanota.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

[-- Attachment #2 --]
99,100c99,102
< .  if !defined(WITH_DEBUG) && empty(GO_BUILDFLAGS:M-ldflags*)
< GO_BUILDFLAGS+=	-ldflags=-s
---
> .  if defined(WITH_DEBUG)
> GO_BUILDFLAGS+= -gcflags=all="-N -l"
> .  elif empty(GO_BUILDFLAGS:M-ldflags*)
> GO_BUILDFLAGS+=	-ldflags=-s -w

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NdKP4GS--3-9>