xfsdump: fix do_configure failure and remove from blacklist

Add '-D_FILE_OFFSET_BITS=64' to CFLAGS to fix the following do_configure
error.

  FATAL ERROR: cannot find a valid <xfs/xfs.h> header file.

Although -D_FILE_OFFSET_BITS=64 has already been defined in
include/builddefs.in, it only affects the compile process, leaving configure
process unaware of this value.

Remove from blacklist as the configure failure has been fixed by this patch.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Qi.Chen@windriver.com 2017-05-04 18:05:31 +08:00 committed by Martin Jansa
parent 440aa5bdc3
commit 573fd1849f

View File

@ -22,6 +22,8 @@ PARALLEL_MAKE = ""
PACKAGECONFIG ??= ""
PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext"
CFLAGS += "-D_FILE_OFFSET_BITS=64"
EXTRA_OEMAKE += "'LIBTOOL=${HOST_SYS}-libtool' V=1"
do_configure () {
@ -34,5 +36,3 @@ do_install () {
oe_runmake install
oe_runmake install-dev
}
PNBLACKLIST[xfsdump] ?= "Depends on broken xfsprogs - the recipe will be removed on 2017-09-01 unless the issue is fixed"