aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libxml/libxml2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libxml/libxml2.inc')
-rw-r--r--recipes/libxml/libxml2.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/libxml/libxml2.inc b/recipes/libxml/libxml2.inc
index c7651a71ea..c3265c978f 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"