From c564bffe7a32470578a22b70e868e7bec2da0a69 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 26 Feb 2014 14:48:17 +0200 Subject: security_flags: disable PIE flags for cups builds Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/conf/distro/include/security_flags.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/conf/distro') diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index e7d4933a36..93d635556e 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -7,6 +7,7 @@ SECURITY_CFLAGS_pn-beecrypt = "${SECURITY_NO_PIE_CFLAGS}" # Curl seems to check for FORTIFY_SOURCE in CFLAGS, but even assigned # to CPPFLAGS it gets picked into CFLAGS in bitbake. #TARGET_CPPFLAGS_pn-curl += "-D_FORTIFY_SOURCE=2" +SECURITY_CFLAGS_pn-cups = "${SECURITY_NO_PIE_CLAGS}" SECURITY_CFLAGS_pn-curl = "-fstack-protector-all -pie -fpie" SECURITY_CFLAGS_pn-db = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}" -- cgit v1.2.3