coreos-devel/mantle: enable Go vendor experiment

This commit is contained in:
Alex Crawford 2016-04-04 11:56:22 -07:00
parent f3a9602b0c
commit 10790141b7
2 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ SLOT="0"
RDEPEND=">=net-dns/dnsmasq-2.72[dhcp,ipv6]" RDEPEND=">=net-dns/dnsmasq-2.72[dhcp,ipv6]"
src_compile() { src_compile() {
export GO15VENDOREXPERIMENT="1"
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