Avoid POSIX mutexes on armv6* and aarch64.
db6 switched from the stpb-based mutexes that db5 used to ldrex/strex. PR: 213167 (related)
This commit is contained in:
parent
cffbd83b2b
commit
64893b90e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423245
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue