Skip to content
Snippets Groups Projects
Verified Commit 33eb7580 authored by shelikhoo's avatar shelikhoo
Browse files

Replace cgo Condition in Go Config

parent 728ffe15
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ var:
export CGO_LDFLAGS_ALLOW="-z|noexecstack"
export CGO_LDFLAGS="-z noexecstack"
[% END -%]
[% IF c("var/linux-i686") -%]
[% IF c("var/cgo") -%]
export CGO_ENABLED=1
[% END -%]
export GOTMPDIR=/var/tmp/build/go-tmp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment