summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/security_flags.inc
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2014-12-10 20:14:03 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-23 11:36:29 +0000
commit166015c809889ad66f1359520206ef3e52a81135 (patch)
tree3fd45cff4a594988c85030706d417d26691a83d2 /meta/conf/distro/include/security_flags.inc
parent5b985fd364c44d7067a7b63f119ec7ad04dcec33 (diff)
downloadpoky-166015c809889ad66f1359520206ef3e52a81135.tar.gz
gcc-sanitizers: Enable GCC sanitizers
AddressSanitizer is a fast memory error detector. ThreadSanitizer detects data races. UBSanitizer detectes undefined behaviour. All consist of compiler instrumentation and a run-time library. The compiler instrumentation was already enabled, this builds the run-time library component. (From OE-Core rev: 1709bf0c3a84bb04bc52e9104ad8e09fba6c6f91) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include/security_flags.inc')
-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 d6f7e9c8cc..f996184b25 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -29,6 +29,7 @@ SECURITY_CFLAGS_pn-glibc-initial = ""
29SECURITY_CFLAGS_pn-enchant = "${SECURITY_NO_PIE_CFLAGS}" 29SECURITY_CFLAGS_pn-enchant = "${SECURITY_NO_PIE_CFLAGS}"
30SECURITY_CFLAGS_pn-flac = "${SECURITY_NO_PIE_CFLAGS}" 30SECURITY_CFLAGS_pn-flac = "${SECURITY_NO_PIE_CFLAGS}"
31SECURITY_CFLAGS_pn-gcc-runtime = "${SECURITY_NO_PIE_CFLAGS}" 31SECURITY_CFLAGS_pn-gcc-runtime = "${SECURITY_NO_PIE_CFLAGS}"
32SECURITY_CFLAGS_pn-gcc-sanitizers = "${SECURITY_NO_PIE_CFLAGS}"
32SECURITY_CFLAGS_pn-gdb = "${SECURITY_NO_PIE_CFLAGS}" 33SECURITY_CFLAGS_pn-gdb = "${SECURITY_NO_PIE_CFLAGS}"
33SECURITY_CFLAGS_pn-gmp = "${SECURITY_NO_PIE_CFLAGS}" 34SECURITY_CFLAGS_pn-gmp = "${SECURITY_NO_PIE_CFLAGS}"
34SECURITY_CFLAGS_pn-gnutls = "${SECURITY_NO_PIE_CFLAGS}" 35SECURITY_CFLAGS_pn-gnutls = "${SECURITY_NO_PIE_CFLAGS}"