summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/Makefile
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2002-09-09 19:41:33 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2002-09-09 19:41:33 +0000
commitccc481bbb086c97073b76ae369a16f204c845972 (patch)
treeeb53bcbde74a298cea2d8e3ab759b7a4102c722a /libc/misc/statfs/Makefile
parent4abfcf2bad9ac7b370f4f7b1f441a436718e15b2 (diff)
Fixed compile bugs having to do with 64-bit filesystem operations that
need to be disabled when 'DOLFS' is disabled.
Diffstat (limited to 'libc/misc/statfs/Makefile')
-rw-r--r--libc/misc/statfs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/statfs/Makefile b/libc/misc/statfs/Makefile
index fea23d741..4da855b28 100644
--- a/libc/misc/statfs/Makefile
+++ b/libc/misc/statfs/Makefile
@@ -22,7 +22,11 @@
TOPDIR=../../../
include $(TOPDIR)Rules.mak
+ifeq ($(strip $(__UCLIBC_HAVE_LFS__)),true)
CSRC = fstatfs64.c statfs64.c statvfs.c statvfs64.c fstatvfs.c fstatvfs64.c
+else
+CSRC = statvfs.c fstatvfs.c
+endif
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)