--- Makefile.orig 2021-05-15 20:10:26 UTC +++ Makefile @@ -32,7 +32,7 @@ BOWTIE_SHARED_MEM := CXXFLAGS += -std=c++11 -ARCH = $(shell uname -m) +ARCH = $(shell uname -p) NGS_VER ?= 2.9.2 VDB_VER ?= 2.9.2-1 @@ -59,11 +59,11 @@ ifneq (,$(findstring Darwin,$(shell uname))) endif BITS := 32 -ifneq (,$(findstring $(shell uname -m), x86_64 amd64)) +ifneq (,$(findstring $(shell uname -p), x86_64 amd64)) BITS := 64 SSE_FLAG := -msse2 POPCNT_CAPABILITY ?= 1 -else ifneq (,$(findstring $(shell uname -m), aarch64 arm64 s390x ppc64 ppc64le)) +else ifneq (,$(findstring $(shell uname -p), aarch64 arm64 s390x powerpc64 powerpc64le)) BITS := 64 SSE_FLAG := CXXFLAGS += -fopenmp-simd