1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

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 <raj.khem@gmail.com>
(From OE-Core rev: 27fce6ec277788f8fad0c9799e784df80f791120)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tom Rini
2018-02-01 09:16:56 -05:00
committed by Richard Purdie
parent 95dbd9d287
commit d2ade75708
2 changed files with 4 additions and 6 deletions
@@ -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}"