diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-12-22 15:57:58 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-07 13:40:03 +0000 |
commit | ff4f46700a4810fcb49c58978b17af4f52fa9925 (patch) | |
tree | 4b1cadace0b9757f0b575fe7e3a2d9c8aa5ad289 /meta/recipes-bsp/acpid | |
parent | 824f0bdbe87f9a847bd7a3bdd9a89bffd58befa8 (diff) | |
download | openembedded-core-ff4f46700a4810fcb49c58978b17af4f52fa9925.tar.gz openembedded-core-ff4f46700a4810fcb49c58978b17af4f52fa9925.tar.bz2 openembedded-core-ff4f46700a4810fcb49c58978b17af4f52fa9925.zip |
security_flags.inc: disable -fstack-protector-XXX for valgrind
Valgrind (v3.11.0) expects to build with stack protection disabled
and includes -fno-stack-protector in its default CFLAGS. However, the
CFLAGS provided by OE are included on the compiler command line after
the defaults so any -fstack-protector-all / -fstack-protector-strong
option provided by security_flags.inc will cause problems.
| .../build-bcm97425vms/tmp/work/mips32el-rdk-linux/valgrind/3.11.0-r0/valgrind-3.11.0/coregrind/m_mallocfree.c:892: undefined reference to `__stack_chk_guard'
| .../build-bcm97425vms/tmp/work/mips32el-rdk-linux/valgrind/3.11.0-r0/valgrind-3.11.0/coregrind/m_mallocfree.c:947: undefined reference to `__stack_chk_fail'
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-bsp/acpid')
0 files changed, 0 insertions, 0 deletions