diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-06-05 17:50:11 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-06-06 18:14:37 +0800 |
commit | 49c3594bfb0ea6867e9272dbfa6b101327f9ec7e (patch) | |
tree | 949bc153efc615c2b5e1506c4cb8de29707f067e | |
parent | df4662758708ec030852ba3de007e021f0c4ad49 (diff) | |
download | meta-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.bbappend | 11 |
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 | ||
3 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" | 3 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" |
4 | 4 | ||
5 | do_configure_prepend() { | 5 | do_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 | |||
12 | do_compile () { | ||
13 | oe_runmake 'CC=${CC}' 'DEBUG=' | ||
7 | } | 14 | } |