summaryrefslogtreecommitdiffstats
path: root/usr.bin/svn/lib
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-10-04 18:27:02 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-10-04 18:27:02 +0000
commit91400d13adf6baa3d71054ef635ab718686c7c66 (patch)
treea5844a5c7a29cd2bcb320e8eb4e2bd8b6ae466a1 /usr.bin/svn/lib
parentcb6017acba4af8a9507267d1e08f91f9bb452cd6 (diff)
downloadFreeBSD-src-91400d13adf6baa3d71054ef635ab718686c7c66.zip
FreeBSD-src-91400d13adf6baa3d71054ef635ab718686c7c66.tar.gz
Disable use of compiler atomic builtins. For APR, this is limited to
architectures where they are known not to work. For SVN itself, use the least common denominator and disable them across the board. This allows svnlite to build and run on all FreeBSD architectures. Approved by: re (gjb)
Diffstat (limited to 'usr.bin/svn/lib')
-rw-r--r--usr.bin/svn/lib/libapr/apr_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/svn/lib/libapr/apr_private.h b/usr.bin/svn/lib/libapr/apr_private.h
index fcbbbd3..492a4f1 100644
--- a/usr.bin/svn/lib/libapr/apr_private.h
+++ b/usr.bin/svn/lib/libapr/apr_private.h
@@ -97,7 +97,9 @@
#define HAVE_ARPA_INET_H 1
/* Define if compiler provides atomic builtins */
+#if !defined(__mips__) && !defined(__arm__)
#define HAVE_ATOMIC_BUILTINS 1
+#endif
/* Define if BONE_VERSION is defined in sys/socket.h */
/* #undef HAVE_BONE_VERSION */
OpenPOWER on IntegriCloud