mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 16:01:09 +02:00
coreos-devel/mantle: enable Go vendor experiment
This commit is contained in:
parent
f3a9602b0c
commit
10790141b7
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user