Skip to content

Commit

Permalink
Fixed forcing FAST LOCKS for arm6.
Browse files Browse the repository at this point in the history
Use FAST locking support for arm6 too.
For Linux, use POSIX as default locking support.

(cherry picked from commit 058e16f)
  • Loading branch information
bogdan-iancu committed Jun 9, 2016
1 parent 11a32c5 commit c589357
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.defs
Expand Up @@ -832,6 +832,10 @@ ifeq ($(ARCH), arm)
use_fast_lock=yes
endif

ifeq ($(ARCH), arm6)
use_fast_lock=yes
endif

ifeq ($(ARCH), ppc)
use_fast_lock=yes
endif
Expand Down Expand Up @@ -1459,7 +1463,7 @@ ifeq ($(OS), linux)
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H \
-DHAVE_TIMEGM
ifneq ($(found_lock_method), yes)
DEFS+= -DUSE_SYSV_SEM # try posix sems
DEFS+= -DUSE_POSIX_SEM # try posix sems
found_lock_method=yes
endif
# check for >= 2.5.44
Expand Down

0 comments on commit c589357

Please sign in to comment.