mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
lsof: use correct CFLAGS/LDFLAGS.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
This commit is contained in:
parent
df46627587
commit
49c3594bfb
|
|
@ -2,6 +2,13 @@ PR .= ".1"
|
|||
|
||||
DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
|
||||
|
||||
do_configure_prepend() {
|
||||
export LINUX_HASSELINUX="${@base_contains('DISTRO_FEATURES', 'selinux', 'Y', 'N', d)}"
|
||||
do_configure_prepend () {
|
||||
export LINUX_HASSELINUX="${@base_contains('DISTRO_FEATURES', 'selinux', 'Y', 'N', d)}"
|
||||
export LSOF_CFGF="${CFLAGS}"
|
||||
export LSOF_CFGL="${LDFLAGS}"
|
||||
export LSOF_CC="${BUILD_CC}"
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
oe_runmake 'CC=${CC}' 'DEBUG='
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user