use -msse4 by default, not -march

This commit is contained in:
Heng Li
2017-07-18 13:56:51 -04:00
parent b4edb0cf55
commit a1addb2949
2 changed files with 14 additions and 1 deletions
+5 -1
View File
@@ -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: