From 7b6b47da77b80ab694353b456af86171db3a0b67 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sat, 10 Jul 2010 17:46:53 +0000 Subject: 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. --- lib/bind/config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/bind') 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 -- cgit v1.1