summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index a607160..e29c7d9 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -8,10 +8,10 @@ SHLIBDIR?= /lib
# We have to special case powerpc and powerpc64, since they mostly have
# the same source implementation. libc is very different due to large
# ABI differences.
-.if ${LIBC_ARCH} == "powerpc"
+.if ${MACHINE_ARCH} == "powerpc"
LIBC_ARCH=${MACHINE_ARCH}
.else
-LIBC_ARCH=${LIBC_ARCH}
+LIBC_ARCH=${MACHINE_CPUARCH}
.endif
# All library objects contain FreeBSD revision strings by default; they may be
OpenPOWER on IntegriCloud