summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-10-07 13:46:09 +0000
committerkato <kato@FreeBSD.org>1998-10-07 13:46:09 +0000
commit4df6ab63be727f2c525b13493ea0712ed5458ab3 (patch)
tree7f8a862781ec93cf6d509fdd5bdb2b7686ff4c25 /usr.bin/truss
parente21834764b130b23c590266774b6e440dcbef5fa (diff)
downloadFreeBSD-src-4df6ab63be727f2c525b13493ea0712ed5458ab3.zip
FreeBSD-src-4df6ab63be727f2c525b13493ea0712ed5458ab3.tar.gz
Use MACHINE_ARCH instead of MACHINE to detect x86 arch.
Pointed out by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile
index 8db1458..b7f8a3f 100644
--- a/usr.bin/truss/Makefile
+++ b/usr.bin/truss/Makefile
@@ -2,7 +2,7 @@ PROG= truss
SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c
.if (${MACHINE} == "alpha")
SRCS+= alpha-fbsd.c
-.elif (${MACHINE} == "i386")
+.elif (${MACHINE_ARCH} == "i386")
SRCS+= i386-fbsd.c i386-linux.c linux_syscalls.h
.endif
OpenPOWER on IntegriCloud