summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-17 01:10:29 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-17 01:10:29 +0000
commitcad937c12d93653ed1bf548eed8fc1a178f991d8 (patch)
tree596ff2c1200152a75e12fc14ba1213b8e2c57f2c /Makefile
parentb8fa5e71e482c61ff5accde74f5b552c6300b442 (diff)
This commit makes large file support actually work (when enabled in
the config file). I've tested this and it works for me. -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3f9cc9acc..a61f657d0 100644
--- a/Makefile
+++ b/Makefile
@@ -166,6 +166,11 @@ uClibc_config.h: Makefile Config
echo "#undef __UCLIBC_USE_UNIFIED_SYSCALL__" >> uClibc_config.h ; \
fi
@echo "#define C_SYMBOL_PREFIX "\""$(C_SYMBOL_PREFIX)"\" >> uClibc_config.h
+ @if [ "$(DOLFS)" = "true" ] ; then \
+ echo "#define __UCLIBC_HAVE_LFS__ 1" >> uClibc_config.h ; \
+ else \
+ echo "#undef __UCLIBC_HAVE_LFS__" >> uClibc_config.h ; \
+ fi
subdirs: $(patsubst %, _dir_%, $(DIRS))