Skip to content

Commit d52a45f

Browse files
committed
waht?
1 parent 1eb95bd commit d52a45f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/actions/cmake.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def _build_project(env, project, cmake_extra, build_tests=False, args_transforme
105105
config = project.get_config(env.spec)
106106
build_env = []
107107
toolchain = env.toolchain
108-
if toolchain.cross_compile and 'go_path' in env.variables and env.variables['go_path'] is not None:
108+
if toolchain.cross_compile and 'go_path' in env.variables:
109109
# We need to set the envrionment variable of GO_PATH for cross compile
110110
build_env = ["GO_PATH={}\n".format(env.variables['go_path'])]
111111

0 commit comments

Comments
 (0)