summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2012-06-05 17:50:11 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2012-06-06 18:14:37 +0800
commit49c3594bfb0ea6867e9272dbfa6b101327f9ec7e (patch)
tree949bc153efc615c2b5e1506c4cb8de29707f067e
parentdf4662758708ec030852ba3de007e021f0c4ad49 (diff)
downloadmeta-selinux-49c3594bfb0ea6867e9272dbfa6b101327f9ec7e.tar.gz
lsof: use correct CFLAGS/LDFLAGS.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r--recipes-extended/lsof/lsof_4.85.bbappend11
1 files changed, 9 insertions, 2 deletions
diff --git a/recipes-extended/lsof/lsof_4.85.bbappend b/recipes-extended/lsof/lsof_4.85.bbappend
index fe26bf4..5b12125 100644
--- a/recipes-extended/lsof/lsof_4.85.bbappend
+++ b/recipes-extended/lsof/lsof_4.85.bbappend
@@ -2,6 +2,13 @@ PR .= ".1"
2 2
3DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" 3DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
4 4
5do_configure_prepend() { 5do_configure_prepend () {
6 export LINUX_HASSELINUX="${@base_contains('DISTRO_FEATURES', 'selinux', 'Y', 'N', d)}" 6 export LINUX_HASSELINUX="${@base_contains('DISTRO_FEATURES', 'selinux', 'Y', 'N', d)}"
7 export LSOF_CFGF="${CFLAGS}"
8 export LSOF_CFGL="${LDFLAGS}"
9 export LSOF_CC="${BUILD_CC}"
10}
11
12do_compile () {
13 oe_runmake 'CC=${CC}' 'DEBUG='
7} 14}