summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/libi386/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/libi386/Makefile')
-rw-r--r--sys/boot/i386/libi386/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/Makefile b/sys/boot/i386/libi386/Makefile
index f1a461a..3b89784 100644
--- a/sys/boot/i386/libi386/Makefile
+++ b/sys/boot/i386/libi386/Makefile
@@ -53,7 +53,7 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
# the location of libstand
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
-.if ${MACHINE_ARCH} == "amd64"
+.if ${MACHINE_CPUARCH} == "amd64"
CLEANFILES+= machine
machine:
ln -sf ${.CURDIR}/../../../i386/include machine
@@ -61,6 +61,6 @@ machine:
.include <bsd.lib.mk>
-.if ${MACHINE_ARCH} == "amd64"
+.if ${MACHINE_CPUARCH} == "amd64"
beforedepend ${OBJS}: machine
.endif
OpenPOWER on IntegriCloud