]> code.ossystems Code Review - openembedded-core.git/commit
powerpc: Remove pie flags from compiler cmdline
authorKhem Raj <raj.khem@gmail.com>
Sun, 19 Aug 2018 17:23:34 +0000 (10:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Aug 2018 09:43:59 +0000 (10:43 +0100)
commit1520f5a345fd03d46f33f0efaf76191e96344bec
tree79aba414bf2dc1901d51d904fe07441df9ddcf57
parent007ef1f468110b2698a27ea9a6d43fed5a0a9fc2
powerpc: Remove pie flags from compiler cmdline

Original approach to add -no-<pie> flags cause link time behavior changes
where packages start to lose the -fPIC -DPIC in compiler cmdline and this
list keeps growing as we build more and more packages,

Instead lets just remove the options we dont need from SECURITY_CFLAGS
this makes it more robust and less intrusive

This also means we do not need to re-add pic options as we started to do
for affected packages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/security_flags.inc