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.
This commit is contained in:
Doug Barton 2007-06-03 16:49:57 +00:00
parent 41d05ce706
commit 6c49136e5e

View File

@ -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