Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ BITS=32
ifeq (x86_64,$(shell uname -m))
BITS=64
endif

ifeq (aarch64,$(shell uname -m))
BITS=64
endif

# msys will always be 32 bit so look at the cpu arch instead.
ifneq (,$(findstring AMD64,$(PROCESSOR_ARCHITEW6432)))
ifeq (1,$(MINGW))
Expand All @@ -180,8 +185,13 @@ ifeq (32,$(BITS))
$(error bowtie2 compilation requires a 64-bit platform )
endif

DEBUG_FLAGS = -O0 -g3 -m64
RELEASE_FLAGS = -O3 -m64
M64_FLAG := -m64
ifeq (aarch64,$(shell uname -m))
M64_FLAG :=
endif

DEBUG_FLAGS = -O0 -g3 $(M64_FLAG)
RELEASE_FLAGS = -O3 $(M64_FLAG)
NOASSERT_FLAGS = -DNDEBUG
FILE_FLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE

Expand Down
2 changes: 1 addition & 1 deletion alphabet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ int dnacomp[5] = {

const char *iupacs = "!ACMGRSVTWYHKDBN!acmgrsvtwyhkdbn";

char mask2iupac[16] = {
signed char mask2iupac[16] = {
-1,
'A', // 0001
'C', // 0010
Expand Down