diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-05-26 21:39:46 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-17 08:59:21 +0100 |
commit | d69608c6ef645fac935292a8d339856de3ae8184 (patch) | |
tree | f3d9dbc8006d0bca6f2ecc73a4223348dbfd0fa0 /meta | |
parent | 7f8a53a95e788ad0229b72c9e40dbb548bf8bb56 (diff) | |
download | poky-d69608c6ef645fac935292a8d339856de3ae8184.tar.gz |
dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
Found this error on CentOS 5.10, other distros may also has this
problem, I think that we can disable the selinux for dbus-native:
bus/selinux.c:327: error: array type has incomplete element type
[YOCTO #6374]
(From OE-Core rev: 7a2d2d81d8694806060f7bccfbdba42dc356d477)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 5b2a056511..01108c96b8 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc | |||
@@ -86,6 +86,8 @@ EXTRA_OECONF = "--disable-tests \ | |||
86 | --disable-systemd \ | 86 | --disable-systemd \ |
87 | --without-dbus-glib" | 87 | --without-dbus-glib" |
88 | 88 | ||
89 | EXTRA_OECONF_class-native = "--disable-selinux" | ||
90 | |||
89 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | 91 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ |
90 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 92 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" |
91 | PACKAGECONFIG_class-native = "" | 93 | PACKAGECONFIG_class-native = "" |