From d2ade75708dda26ddac20642d5b02e052ebb41e5 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 1 Feb 2018 09:16:56 -0500 Subject: security_flags.inc, xorg-driver-common.inc: Move SECURITY_X_LDFLAGS logic We need to ensure that all xorg modules are linked with SECURITY_X_LDFLAGS to ensure that they will be able to resolve their run time dependencies. The approach of listing each driver in security_flags.inc lets less frequently used drivers be run-time broken. Move the flag logic into xorg-driver-common.inc so that all xorg modules from all layers will have the correct security flags used. Cc: Khem Raj (From OE-Core rev: 27fce6ec277788f8fad0c9799e784df80f791120) Signed-off-by: Tom Rini Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-driver/xorg-driver-common.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-graphics/xorg-driver') diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc index fe42f11b68..bca0aade6c 100644 --- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc @@ -38,3 +38,5 @@ def _add_xorg_abi_depends(d, name): pn = d.getVar("PN") d.appendVar('RDEPENDS_' + pn, ' ' + abi) + +SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}" -- cgit v1.2.3-54-g00ecf