summaryrefslogtreecommitdiff
path: root/lib/libpthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/Makefile')
-rw-r--r--lib/libpthread/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index 85978519fe8..24dd6090723 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -2,10 +2,10 @@
LIB=pthread
NOPIC= no
-CPPFLAGS+= -DPTHREAD_KERNEL -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE}
+CPPFLAGS+= -DPTHREAD_KERNEL -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE_ARCH}
CFLAGS+= ${CPPFLAGS}
-.include "${.CURDIR}/arch/${MACHINE}/Makefile.inc"
+.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
.include "${.CURDIR}/pthreads/Makefile.inc"
.include "${.CURDIR}/stdio/Makefile.inc"