diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-01 11:37:40 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-04 08:33:46 -0500 |
commit | b3b655cd6758ccce49d68c019f082e93504a4be2 (patch) | |
tree | a83949a1dd1efb9eb7af515ba90d035abcfc5471 | |
parent | 4218573b08e7cd4d5f6ed06d49165311a605d2c4 (diff) | |
download | meta-virtualization-b3b655cd6758ccce49d68c019f082e93504a4be2.tar.gz |
riddler: export GO111MODULE=off
With the latest go version bump in oe-core export GO111MODULE is
on by default. Our build is not setup to use go modules, so we
disable it and avoid configuration errors:
no required module provides package ... : working directory is not part of a module
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/riddler/riddler_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-containers/riddler/riddler_git.bb b/recipes-containers/riddler/riddler_git.bb index 8f71649b..1bdf786a 100644 --- a/recipes-containers/riddler/riddler_git.bb +++ b/recipes-containers/riddler/riddler_git.bb | |||
@@ -46,6 +46,8 @@ do_compile() { | |||
46 | export LDFLAGS="" | 46 | export LDFLAGS="" |
47 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 47 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
48 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 48 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
49 | export GO111MODULE=off | ||
50 | |||
49 | cd ${S}/src/import | 51 | cd ${S}/src/import |
50 | 52 | ||
51 | oe_runmake static | 53 | oe_runmake static |