summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/Makefile.in2
-rw-r--r--libc/unistd/exec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/unistd/Makefile.in b/libc/unistd/Makefile.in
index 198a4eab2..4a0bb0734 100644
--- a/libc/unistd/Makefile.in
+++ b/libc/unistd/Makefile.in
@@ -12,7 +12,7 @@ CSRC := $(notdir $(wildcard $(UNISTD_DIR)/*.c))
# multi source
CSRC := $(filter-out exec.c,$(CSRC))
-ifeq ($(ARCH_HAS_MMU),y)
+ifeq ($(ARCH_USE_MMU),y)
CSRC := $(filter-out __exec_alloc.c,$(CSRC))
else
CSRC := $(filter-out daemon.c,$(CSRC))
diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c
index 1e574825a..3563723ad 100644
--- a/libc/unistd/exec.c
+++ b/libc/unistd/exec.c
@@ -53,7 +53,7 @@ libc_hidden_proto(getenv)
libc_hidden_proto(__environ)
/**********************************************************************/
-#if defined(__ARCH_HAS_MMU__) || defined(__UCLIBC_UCLINUX_BROKEN_MUNMAP__)
+#if defined(__ARCH_USE_MMU__) || defined(__UCLIBC_UCLINUX_BROKEN_MUNMAP__)
/* We have an MMU, so use alloca() to grab space for buffers and
* arg lists. Also fall back to alloca() if munmap() is broken. */