Merge pull request #1837 from mischief/mantle-ldflags

coreos-devel/mantle: silence go linker flag warning
This commit is contained in:
Nick Owens 2016-03-24 15:16:55 -07:00
commit 4e5567fa8b
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() { src_compile() {
if [[ "${PV}" == 9999 ]]; then 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 else
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version ${PV}" GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version=${PV}"
fi fi
for cmd in cork kola kolet ore plume; do for cmd in cork kola kolet ore plume; do