Author: nwhitehorn
Date: Sat Jul 10 17:46:53 2010
New Revision: 209886
URL: http://svn.freebsd.org/changeset/base/209886

Log:
  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.

Modified:
  head/lib/bind/config.mk

Modified: head/lib/bind/config.mk
==============================================================================
--- head/lib/bind/config.mk     Sat Jul 10 17:43:24 2010        (r209885)
+++ head/lib/bind/config.mk     Sat Jul 10 17:46:53 2010        (r209886)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to