lowpan-tools: Fix errors found with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Khem Raj
2016-10-18 22:38:26 -07:00
committed by Joe MacDonald
parent c8f78ecb9b
commit aebf681a9e
2 changed files with 39 additions and 1 deletions
@@ -9,7 +9,9 @@ DEPENDS = "flex-native bison-native libnl python"
PV = "0.3.1+git${SRCPV}"
SRC_URI = "git://git.code.sf.net/p/linux-zigbee/linux-zigbee \
file://no-help2man.patch"
file://no-help2man.patch \
file://0001-Fix-build-errors-with-clang.patch \
"
SRCREV = "38f42dbfce9e13629263db3bd3b81f14c69bb733"
S = "${WORKDIR}/git"
@@ -18,6 +20,8 @@ inherit autotools python-dir pkgconfig
CACHED_CONFIGUREVARS += "am_cv_python_pythondir=${PYTHON_SITEPACKAGES_DIR}/lowpan-tools"
CFLAGS += "-Wno-initializer-overrides"
do_install_append() {
rmdir ${D}${localstatedir}/run
}