mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-30 12:48:11 +08:00
use -msse4 by default, not -march
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
CC= gcc
|
||||
CFLAGS= -g -Wall -O2 -Wc++-compat -march=native
|
||||
CFLAGS= -g -Wall -O2 -Wc++-compat
|
||||
CPPFLAGS= -DHAVE_KALLOC
|
||||
INCLUDES= -I.
|
||||
OBJS= kthread.o kalloc.o ksw2_extz2_sse.o ksw2_extd2_sse.o misc.o bseq.o \
|
||||
@@ -8,6 +8,10 @@ PROG= minimap2
|
||||
PROG_EXTRA= sdust
|
||||
LIBS= -lm -lz -lpthread
|
||||
|
||||
ifeq ($(sse2only),)
|
||||
CFLAGS+=-msse4
|
||||
endif
|
||||
|
||||
.SUFFIXES:.c .o
|
||||
|
||||
.c.o:
|
||||
|
||||
Reference in New Issue
Block a user