summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.x8616
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.x86 b/Makefile.x86
index a6196d365..330690935 100644
--- a/Makefile.x86
+++ b/Makefile.x86
@@ -54,3 +54,19 @@ LIBATLAS = -L$(ATLASPATH)/32 -lcblas -lf77blas -latlas -lm
else
LIBATLAS = -L$(ATLASPATH)/32 -lptf77blas -lptatlas -lpthread -lm
endif
+
+ifdef HAVE_SSE3
+ifndef DYNAMIC_ARCH
+CCOMMON_OPT += -msse3
+FCOMMON_OPT += -msse3
+ifdef HAVE_SSSE3
+CCOMMON_OPT += -mssse3
+FCOMMON_OPT += -mssse3
+endif
+ifdef HAVE_SSE4_1
+CCOMMON_OPT += -msse4.1
+FCOMMON_OPT += -msse4.1
+endif
+endif
+endif
+