svn commit: r423245 - head/databases/db6
Matthias Andree
mandree at FreeBSD.org
Tue Oct 4 09:32:49 UTC 2016
Author: mandree
Date: Tue Oct 4 09:32:48 2016
New Revision: 423245
URL: https://svnweb.freebsd.org/changeset/ports/423245
Log:
Avoid POSIX mutexes on armv6* and aarch64.
db6 switched from the stpb-based mutexes that db5 used to ldrex/strex.
PR: 213167 (related)
Modified:
head/databases/db6/Makefile
Modified: head/databases/db6/Makefile
==============================================================================
--- head/databases/db6/Makefile Tue Oct 4 09:01:49 2016 (r423244)
+++ head/databases/db6/Makefile Tue Oct 4 09:32:48 2016 (r423245)
@@ -63,9 +63,9 @@ DOCS_INSTALL_TARGET= install_docs
.include <bsd.port.options.mk>
-.if ${ARCH} == "aarch64" || ${ARCH:Marmv6*}
-# db6 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
-# and also bug #205001
+.if ${ARCH:Marm*} && empty(ARCH:Marmv6*)
+# db6 uses LDREX/STREX instructions for mutexes on ARM,
+# which are unavailable before ARMv6.
CONFIGURE_ARGS+= --enable-posixmutexes
.endif
More information about the svn-ports-head
mailing list