diff options
author | mandree <mandree@FreeBSD.org> | 2016-10-04 09:32:48 +0000 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2016-10-04 09:32:48 +0000 |
commit | 54de0b532f10856ce27950a5199b6f0e6d14092d (patch) | |
tree | 7614392107753c8217fc4a81df4eab7b5a748f02 | |
parent | 23f1e5e94123a40cf293f10e8315a499335c64dd (diff) | |
download | FreeBSD-ports-54de0b532f10856ce27950a5199b6f0e6d14092d.zip FreeBSD-ports-54de0b532f10856ce27950a5199b6f0e6d14092d.tar.gz |
Avoid POSIX mutexes on armv6* and aarch64.
db6 switched from the stpb-based mutexes that db5 used to ldrex/strex.
PR: 213167 (related)
-rw-r--r-- | databases/db6/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/db6/Makefile b/databases/db6/Makefile index 3c90594..b326ae6 100644 --- a/databases/db6/Makefile +++ b/databases/db6/Makefile @@ -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 |