Commit 24f585bf authored by Cecylia Bocovich's avatar Cecylia Bocovich Committed by Georg Koppen
Browse files

Compile go-webrtc with a non executable stack

Ensure that cgo programs can be built with the nonexecstack ld flag

Fix for bug #30451
parent cc3bc217
# vim: filetype=yaml sw=2
version: '[% c("abbrev") %]'
git_url: https://github.com/keroserene/go-webrtc.git
git_hash: dcbfc825aa33471253a5da1834d499257e05d557
git_hash: ed20e74ef428d6149a95bab8e63afb47af55c204
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
build: '[% c("projects/go/var/build_go_lib") %]'
......
......@@ -15,6 +15,10 @@ var:
export GOARCH=[% c("var/GOARCH") %]
export GOPATH=/var/tmp/dist/gopath
export PATH=/var/tmp/dist/go/bin:/var/tmp/dist/gopath/bin:"$PATH"
[% IF c("var/linux") -%]
export CGO_LDFLAGS_ALLOW="-z|noexecstack"
export CGO_LDFLAGS="-z noexecstack"
[% END -%]
[% IF c("var/linux-i686") -%]
export CGO_ENABLED=1
[% END -%]
......
Supports Markdown
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