]> code.ossystems Code Review - openembedded-core.git/commit
gcc-6: Add fix for missing no-PIE flags
authorStephen Arnold <stephen.arnold42@gmail.com>
Mon, 13 Feb 2017 02:25:27 +0000 (18:25 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2017 20:29:14 +0000 (12:29 -0800)
commitfcb236ea7cd1ac052719187fefed60ebf1a30ac8
tree9ebef5e5e4c45158d9c8d6a3fe1465fc82766539
parent87f10ec9ed63794ffd216c752cf14fd68d009d46
gcc-6: Add fix for missing no-PIE flags

Fixes build on hardened PAX host with gcc-5 (linker error on relocs).
Completes no-PIE config by adding to ALL_* flags variables.
Borrowed from Gentoo gcc patches, tested on 2 hardened amd64 hosts.

Upstream-Status: Inappropriate [configuration]

Commited by: Gentoo Toolchain Project <toolchain@gentoo.org>
(From OE-Core rev: c178791cd78d5a9ebc4d7b7790e647a9bafe9cf2)

Signed-off-by: Stephen Arnold <stephen.arnold42@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-6.3.inc
meta/recipes-devtools/gcc/gcc-6.3/0054_all_nopie-all-flags.patch [new file with mode: 0644]