From ccc481bbb086c97073b76ae369a16f204c845972 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Mon, 9 Sep 2002 19:41:33 +0000 Subject: Fixed compile bugs having to do with 64-bit filesystem operations that need to be disabled when 'DOLFS' is disabled. --- libc/misc/statfs/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/misc/statfs/Makefile') 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) -- cgit v1.2.3