Skip to content

Commit

Permalink
Disable mimalloc on Android host
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Dec 31, 2021
1 parent cb2b4b8 commit d743acb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ endif
USE_MIMALLOC = 1
ifeq ($(OS), Darwin)
USE_MIMALLOC = 0
else ifneq (, $(findstring android, $(shell uname -r)))
USE_MIMALLOC = 0
else ifeq ($(OS), Linux)
ifeq ($(shell uname -o), Android)
USE_MIMALLOC = 0
endif
else ifeq ($(ASAN), 1)
USE_MIMALLOC = 0
else ifeq ($(TSAN), 1)
Expand Down

0 comments on commit d743acb

Please sign in to comment.