Verified Commit 24a0e01d authored by Torsten Grote's avatar Torsten Grote
Browse files

Try bulding Linux builds with cgo disabled

parent 99d1cf9f
Pipeline #2987 passed with stages
in 8 minutes and 52 seconds
......@@ -122,8 +122,10 @@ def build_android_arch(versions, env, tool, ndk_arch, pie):
def build_linux(versions):
env = os.environ.copy()
env['CGO_ENABLED'] = "0"
build_path = os.path.join('.', versions['build_path'])
ex(['go', 'build', '-ldflags', '-w -s'] + GO_FLAGS + [build_path], cwd=REPO_DIR)
ex(['go', 'build', '-ldflags', '-w -s'] + GO_FLAGS + [build_path], env=env, cwd=REPO_DIR)
zip_files(['obfs4proxy'], '')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment