From c4a3f3f81ea90e3df93c352ac0e2161a4bfd3327 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 23 Apr 2001 14:56:15 +0000 Subject: Only compile in daemon() if the target has an MMU. -Erik --- libc/unistd/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libc/unistd/Makefile') diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile index f9692ab6c..7b51f075c 100644 --- a/libc/unistd/Makefile +++ b/libc/unistd/Makefile @@ -26,7 +26,10 @@ LIBC=$(TOPDIR)libc.a DIRS:= CSRC=execl.c execlp.c execv.c execvep.c execvp.c execle.c getcwd.c getopt.c \ - sleep.c getpass.c sysconf_src.c getopt_vars.c daemon.c getlogin.c fpathconf.c + sleep.c getpass.c sysconf_src.c getopt_vars.c getlogin.c fpathconf.c +ifeq ($(strip $(HAS_MMU)),true) + CSRC+=daemon.c +endif # TESTING -- comment this out if it breaks for you ifeq ($(TARGET_ARCH), $(NATIVE_ARCH)) -- cgit v1.2.3