coredns: remove -w -s from go_ldflags

This commit is contained in:
classabbyamp 2022-08-08 12:21:25 -04:00 committed by classabbyamp
parent df378cbc04
commit 0ec98a1276
1 changed files with 2 additions and 2 deletions

View File

@ -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