cni: fix build with golang 1.16
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Wed, 24 Feb 2021 18:37:59 +0000 (15:37 -0300)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 26 Feb 2021 11:47:10 +0000 (12:47 +0100)
commitaa382aad96b3964ea3e58a89125a6d477b07d273
tree4acc5fcacf877b239a6c123e226ea70d067150cb
parent067f4b56b3ecacdd7efdf147dd4919cb0d7e7551
cni: fix build with golang 1.16

Add GO111MODULE=auto to GO_PKG_BUILD_VARS to allow the package to be
built in non-module mode.

Module-aware mode will be mandatory in the next golang release.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 619270da0e3b81af08cb2924c8484e92b22339de)
utils/cni/Makefile