diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/gotoolchain.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/gotoolchain.py b/meta/lib/oeqa/selftest/cases/gotoolchain.py index 345f533379..978898b86f 100644 --- a/meta/lib/oeqa/selftest/cases/gotoolchain.py +++ b/meta/lib/oeqa/selftest/cases/gotoolchain.py | |||
| @@ -51,6 +51,7 @@ class oeGoToolchainSelfTest(OESelftestTestCase): | |||
| 51 | cmd = cmd + ". %s; " % self.env_SDK | 51 | cmd = cmd + ". %s; " % self.env_SDK |
| 52 | cmd = cmd + "export GOPATH=%s; " % self.go_path | 52 | cmd = cmd + "export GOPATH=%s; " % self.go_path |
| 53 | cmd = cmd + "export GOFLAGS=-modcacherw; " | 53 | cmd = cmd + "export GOFLAGS=-modcacherw; " |
| 54 | cmd = cmd + "export CGO_ENABLED=1; " | ||
| 54 | cmd = cmd + "${CROSS_COMPILE}go %s" % gocmd | 55 | cmd = cmd + "${CROSS_COMPILE}go %s" % gocmd |
| 55 | return runCmd(cmd).status | 56 | return runCmd(cmd).status |
| 56 | 57 | ||
