summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-03 18:33:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:34:45 +0100
commitfd4ed9a4643508890126ba77256f44397bc83c64 (patch)
tree8c18c57ca746c620eb667ae87fef6f7044273bf7 /meta/conf
parentf2eb3d8068155168c54da9ef3cf7054b6110b88c (diff)
downloadpoky-fd4ed9a4643508890126ba77256f44397bc83c64.tar.gz
security_flags.inc: Do not build gcc for powerpc with PIE defaults
Since we have disabled FPIE from SECURITY_CFLAGS already, we have to ensure the same with gcc, otherwise gcc (on-device) will be built defaulting to PIE, and such binaries will fail to execute (From OE-Core rev: 4f3a9ccdb1d45804f4c094589e69e0bc87dc9c62) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/distro/include/security_flags.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
index dd713b9818..ab2062b78f 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -29,6 +29,7 @@ SECURITY_X_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro"
29# powerpc does not get on with pie for reasons not looked into as yet 29# powerpc does not get on with pie for reasons not looked into as yet
30SECURITY_CFLAGS_powerpc = "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_NOPIE_CFLAGS}" 30SECURITY_CFLAGS_powerpc = "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_NOPIE_CFLAGS}"
31SECURITY_CFLAGS_pn-libgcc_powerpc = "" 31SECURITY_CFLAGS_pn-libgcc_powerpc = ""
32GCCPIE_powerpc = ""
32 33
33# arm specific security flag issues 34# arm specific security flag issues
34SECURITY_CFLAGS_pn-glibc = "" 35SECURITY_CFLAGS_pn-glibc = ""