Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/libxml2

Buildroot jacmet at uclibc.org 1 participant 1 message Jun 30, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-06-30 06:16:18 -0700 (Mon, 30 Jun 2008) New Revision: 22571

Log:
libxml: fix compilation without large file support

Modified:
trunk/buildroot/package/libxml2/libxml2.mk

Changeset:
Modified: trunk/buildroot/package/libxml2/libxml2.mk
===================================================================

buildroot/package/libxml2/libxml2.mk +4 -0
@@ -11,6 +11,10 @@
 LIBXML2_INSTALL_STAGING = YES
 LIBXML2_INSTALL_TARGET = YES
 
+ifneq ($(BR2_LARGEFILE),y)
+LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
+endif
+
 LIBXML2_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
 		--build=$(GNU_HOST_NAME) --prefix=/usr \
 		--exec-prefix=/usr --bindir=/usr/bin \