]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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 16:38:22 +0000 (17:38 +0100)
commitd0b2393ce7b07670d3be08c20e51b2b47263a755
tree1ef82099f34caf7c2f3862295e8d543b0fd77c9a
parent08fbdc02e32d715ae94e3b9603fb3ec8351c8fd3
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

(From OE-Core rev: 1520f5a345fd03d46f33f0efaf76191e96344bec)

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