mipsel-oe-linux-uclibc-libtool: compile: mipsel-oe-linux-uclibc-gcc
-march=mips32 -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT
-isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include
-isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -pedantic
-W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs
-Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wredundant-decls -MT xmlIO.lo -MD -MP -MF .deps/xmlIO.Tpo -c xmlIO.c -fPIC
-DPIC -o .libs/xmlIO.o
In file included from
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:72:0,
from libxml.h:44,
from encoding.c:24:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/bits/uClibc_stdio.h:61:2:
error: #error Sorry... uClibc was built without large file support!
Signed-off-by: Graham Gower <[email protected]>
---
recipes/libxml/libxml2.inc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/recipes/libxml/libxml2.inc b/recipes/libxml/libxml2.inc
index c7651a7..c3265c9 100644
--- a/recipes/libxml/libxml2.inc
+++ b/recipes/libxml/libxml2.inc
@@ -7,6 +7,9 @@ DEPENDS_virtclass-native = "python-native"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=archive"
S = "${WORKDIR}/${BPN}-${PV}"
+nolargefile = "$...@base_contains('DISTRO_FEATURES', 'largefile', '',
'-DNO_LARGEFILE_SOURCE', d)}"
+EXTRA_OEMAKE_append_libc-uclibc = "'CFLAGS=${CFLAGS} ${nolargefile}'"
+
INC_PR = "r9"
BBCLASSEXTEND = "native"
--
1.7.1
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel