summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2007-06-03 16:49:57 +0000
committerdougb <dougb@FreeBSD.org>2007-06-03 16:49:57 +0000
commit8117f4670d71143e1101ea105a8889f90ffcb4e6 (patch)
tree43c8d74d065a7be3580ac56f25a5f68c341bc5b5 /lib
parente9cff2bb80791bf8bbe557bb1667dfd9653d0f06 (diff)
downloadFreeBSD-src-8117f4670d71143e1101ea105a8889f90ffcb4e6.zip
FreeBSD-src-8117f4670d71143e1101ea105a8889f90ffcb4e6.tar.gz
Fix the amd64 and pc98 versions of ISC_ATOMIC_ARCH with some help
from ru@. Take a guess at what might work on arm to try and fix the build.
Diffstat (limited to 'lib')
-rw-r--r--lib/bind/config.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/bind/config.mk b/lib/bind/config.mk
index d47194b..a2ed504 100644
--- a/lib/bind/config.mk
+++ b/lib/bind/config.mk
@@ -63,12 +63,10 @@ CFLAGS+= -I${LIB_BIND_DIR}
.endif
# Use the right version of the atomic.h file from lib/isc
-.if ${MACHINE_ARCH} == "amd64"
-ISC_ATOMIC_ARCH= x86_64
-.elif ${MACHINE_ARCH} == "arm"
-ISC_ATOMIC_ARCH= mips
-.elif ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "i386/pc98"
+.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
ISC_ATOMIC_ARCH= x86_32
+.elif ${MACHINE_ARCH} == "arm"
+ISC_ATOMIC_ARCH= noatomic
.else
ISC_ATOMIC_ARCH= ${MACHINE_ARCH}
.endif
OpenPOWER on IntegriCloud