summaryrefslogtreecommitdiffstats
path: root/make/uclibc.mk
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-11-17 01:31:38 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-11-17 01:31:38 +0000
commit50e1da8698f484cfcf6793136ea268c3f997d6ea (patch)
tree41b4b9ee3ae7f0ecb179689601ca048b825225b7 /make/uclibc.mk
parent8162065d968b219e01628d5118683ba41da6c121 (diff)
downloadbuildroot-novena-50e1da8698f484cfcf6793136ea268c3f997d6ea.tar.gz
buildroot-novena-50e1da8698f484cfcf6793136ea268c3f997d6ea.zip
Fix most things when large file support is not configured.
Mostly submitted by Thomas Lundquist <lists@zelow.no>.
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r--make/uclibc.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index 5c0952b10..4c4bc855c 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -54,8 +54,14 @@ endif
$(UCLIBC_DIR)/.config
sed -ie 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
$(UCLIBC_DIR)/.config
- sed -ie 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y\nUCLIBC_HAS_LOCALE=n,g' \
+ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
+ sed -ie "s/^.*UCLIBC_HAS_LFS.*/UCLIBC_HAS_LFS=y/;" \
$(UCLIBC_DIR)/.config
+else
+ sed -ie "s/^.*UCLIBC_HAS_LFS.*/UCLIBC_HAS_LFS=n/;" \
+ $(UCLIBC_DIR)/.config
+endif
+ sed -ie 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
if [ -n "$(strip $(TARGET_SOFT_FLOAT))" ] ; then \
sed -ie 's,.*HAS_FPU.*,HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' \
$(UCLIBC_DIR)/.config; \