From 0ec98a12766a5ca8f72a6fda81a065d51357ddd7 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 8 Aug 2022 12:21:25 -0400 Subject: [PATCH] coredns: remove -w -s from go_ldflags --- srcpkgs/coredns/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/coredns/template b/srcpkgs/coredns/template index fe48c2347f9..263df82c647 100644 --- a/srcpkgs/coredns/template +++ b/srcpkgs/coredns/template @@ -1,7 +1,7 @@ # Template file for 'coredns' pkgname=coredns version=1.8.6 -revision=1 +revision=2 build_style=go go_import_path=github.com/coredns/coredns hostmakedepends="git make mmark" @@ -14,7 +14,7 @@ checksum=cbe3764afe2148b8047ea7e5cbba5108c298dee3a9a0391028e2980e35beaa2b make_dirs="/etc/coredns 0750 root root" _git_commit=f59c03d09c3a3a12f571ad1087b979325f3dae30 -go_ldflags+=" -s -w -X github.com/coredns/coredns/coremain.GitCommit=${_git_commit}" +go_ldflags+="-X github.com/coredns/coredns/coremain.GitCommit=${_git_commit}" post_build() { make -f Makefile.doc MMARK="$(command -v mmark) -man" man/coredns.1 man/corefile.5 plugins