diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-10 17:46:53 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-10 17:46:53 +0000 |
commit | 7b6b47da77b80ab694353b456af86171db3a0b67 (patch) | |
tree | cf47a9bfda27c41a1f9bde79815ce12279b7dbec | |
parent | 615d4b84bcef2f3f5b08ebb0d3f3a4c48c3ba25a (diff) | |
download | FreeBSD-src-7b6b47da77b80ab694353b456af86171db3a0b67.zip FreeBSD-src-7b6b47da77b80ab694353b456af86171db3a0b67.tar.gz |
Since powerpc and powerpc64 share an instruction set, bind can and should
use the 32-bit atomic operations unmodified. Accomplish this by switching
some MACHINE_ARCH values to MACHINE_CPUARCH.
-rw-r--r-- | lib/bind/config.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bind/config.mk b/lib/bind/config.mk index a50d348..4d9b3d3 100644 --- a/lib/bind/config.mk +++ b/lib/bind/config.mk @@ -45,7 +45,7 @@ CFLAGS+= -DOPENSSL CFLAGS+= -DUSE_MD5 # Endianness -.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" +.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "sparc64" CFLAGS+= -DWORDS_BIGENDIAN .endif @@ -67,7 +67,7 @@ CFLAGS+= -I${LIB_BIND_DIR} .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" ISC_ATOMIC_ARCH= x86_32 .else -ISC_ATOMIC_ARCH= ${MACHINE_ARCH} +ISC_ATOMIC_ARCH= ${MACHINE_CPUARCH} .endif # Optional features |