media-video/owncast: Call go using the ego wrapper

Signed-off-by: Karl-Johan Karlsson <creideiki+gentoo-guru@lysator.liu.se>
This commit is contained in:
Karl-Johan Karlsson
2022-07-20 19:15:01 +02:00
parent 7dc466dd9c
commit 21e2845b84

View File

@@ -37,7 +37,7 @@ src_unpack() {
}
src_compile() {
go build -v -work -x \
ego build -v -work -x \
-ldflags "-s -w -X github.com/${PN}/${PN}/config.VersionNumber=${PV} -X github.com/${PN}/${PN}/config.BuildPlatform=gentoo" \
-o ${PN} \
github.com/${PN}/${PN} || die