projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5404d73
)
libxml: fix compilation without large file support
author
Peter Korsgaard
<jacmet@sunsite.dk>
Mon, 30 Jun 2008 13:16:18 +0000
(13:16 -0000)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Mon, 30 Jun 2008 13:16:18 +0000
(13:16 -0000)
package/libxml2/libxml2.mk
patch
|
blob
|
history
diff --git
a/package/libxml2/libxml2.mk
b/package/libxml2/libxml2.mk
index f04731ca22f290d495b151b53e20d4e54b451c5f..980163b5b25a5e72ada693b57b56df65e4a83b96 100644
(file)
--- a/
package/libxml2/libxml2.mk
+++ b/
package/libxml2/libxml2.mk
@@
-11,6
+11,10
@@
LIBXML2_AUTORECONF = NO
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 \