adds support for files > 2GB to samba3

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12564 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2008-09-10 12:23:15 +00:00
parent d4afeef0ba
commit 2e0b93e2f5

View File

@ -36,9 +36,9 @@ define Package/samba3/config
endef
define Build/Compile
CFLAGS="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" \
CC="$(TARGET_CC)" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
CPPFLAGS="$(TARGET_CPPFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" \
LDFLAGS="$(TARGET_LDFLAGS)" \
$(MAKE) -C $(PKG_BUILD_DIR)/source \
all bin/smbpasswd