coreos-devel/mantle: silence go linker flag warning

This commit is contained in:
Nick Owens 2016-03-17 11:06:30 -07:00
parent ae0621c874
commit ee1e13b12f
2 changed files with 2 additions and 2 deletions

View File

@ -25,9 +25,9 @@ RDEPEND=">=net-dns/dnsmasq-2.72[dhcp,ipv6]"
src_compile() {
if [[ "${PV}" == 9999 ]]; then
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version $(get_semver)"
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version=$(get_semver)"
else
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version ${PV}"
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version=${PV}"
fi
for cmd in cork kola kolet ore plume; do