[yocto] [meta-cgl][PATCH 5/6] cgl_common_security_flags.inc: Add linker override for audit
Adrian Dudau
adrian.dudau at enea.com
Mon Mar 14 08:12:25 PDT 2016
Building audit with -fstack-protector-strong throws link errors on the
native compiler. Add exception to avoid that.
---
meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc b/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc
index 358ce58..563a6e4 100644
--- a/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc
+++ b/meta-cgl-common/conf/distro/include/cgl_common_security_flags.inc
@@ -1 +1,2 @@
SECURITY_CFLAGS_pn-openhpi = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_LDFLAGS_remove_pn-audit = "-fstack-protector-strong"
--
1.9.1
More information about the yocto
mailing list