diff --git a/Makefile b/Makefile index 17b13b64..b4d08b5c 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,12 @@ PROG= minimap2 PROG_EXTRA= sdust minimap2-lite LIBS= -lm -lz -lpthread +arch_uname=$(shell uname -m) +ifeq ($(arch_uname),aarch64) + aarch64=1 +else + aarch64= +endif ifneq ($(aarch64),) arm_neon=1 endif