Skip to content

Commit 62a2eb8

Browse files
authored
Add SSE flags for x86
1 parent 2e99e26 commit 62a2eb8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile.x86

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ LIBATLAS = -L$(ATLASPATH)/32 -lcblas -lf77blas -latlas -lm
5959
else
6060
LIBATLAS = -L$(ATLASPATH)/32 -lptf77blas -lptatlas -lpthread -lm
6161
endif
62-
62+
ifdef HAVE_SSE2
63+
CCOMMON_OPT += -msse2
64+
FCOMMON_OPT += -msse2
65+
endif
6366
ifdef HAVE_SSE3
64-
ifndef DYNAMIC_ARCH
6567
CCOMMON_OPT += -msse3
6668
FCOMMON_OPT += -msse3
6769
ifdef HAVE_SSSE3
@@ -73,5 +75,4 @@ CCOMMON_OPT += -msse4.1
7375
FCOMMON_OPT += -msse4.1
7476
endif
7577
endif
76-
endif
7778

0 commit comments

Comments
 (0)