]> code.ossystems Code Review - openembedded-core.git/commit
go: disable PIE flags for cgo
authorMatt Madison <matt@madison.systems>
Sat, 23 Sep 2017 00:58:21 +0000 (17:58 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Sep 2017 13:17:42 +0000 (14:17 +0100)
commit5d84042852380fc88b9be8df0e4eeac612c2a6da
tree99be5cff62ce3e114add809cd2a2642a07e05bf3
parentbdd20c296048937737da0f10bd1a3b63843c5bf4
go: disable PIE flags for cgo

If the security_flags.inc file is included, gcc
will do PIE builds by default.  These flags need
to be disabled for go packages that use cgo.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/go.bbclass
meta/recipes-devtools/go/go-target.inc