From f36f2643de26060c862800a5d87b627dc51189f4 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Tue, 8 Dec 2015 01:46:01 +0300 Subject: [PATCH] Remove -mssse3 from cflags --- src/makefile.bsd | 6 +----- src/makefile.linux-mingw | 2 +- src/makefile.mingw | 2 +- src/makefile.osx | 4 ++-- src/makefile.unix | 6 +----- 5 files changed, 6 insertions(+), 14 deletions(-) diff --git a/src/makefile.bsd b/src/makefile.bsd index 0fa4add..786d5ef 100644 --- a/src/makefile.bsd +++ b/src/makefile.bsd @@ -81,11 +81,7 @@ LIBS+= \ DEBUGFLAGS=-g ifeq (${ARCH}, i386) - EXT_OPTIONS=-msse2 -mssse3 -endif - -ifeq (${ARCH}, amd64) - EXT_OPTIONS=-mssse3 + EXT_OPTIONS=-msse2 endif xOPT_LEVEL=-O2 diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 1d003b3..080af03 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -53,7 +53,7 @@ endif DEFS=-D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS DEBUGFLAGS=-g -CFLAGS=$(xOPT_LEVEL) -msse2 -mssse3 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) +CFLAGS=$(xOPT_LEVEL) -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -static-libgcc -static-libstdc++ ifneq (${USE_IPV6}, -) diff --git a/src/makefile.mingw b/src/makefile.mingw index f9b5e30..67e6a0b 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -43,7 +43,7 @@ endif DEFS=-DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS DEBUGFLAGS=-g -CFLAGS=-mthreads $(xOPT_LEVEL) -msse2 -mssse3 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) +CFLAGS=-mthreads $(xOPT_LEVEL) -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static ifneq (${USE_IPV6}, -) diff --git a/src/makefile.osx b/src/makefile.osx index e23ec1e..388c5be 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -53,9 +53,9 @@ ifdef RELEASE # Compile for maximum compatibility and smallest size. # This requires that dependencies are compiled # the same way. -CFLAGS = -O2 -msse2 -mssse3 +CFLAGS = -O2 -msse2 else -CFLAGS = -g -msse2 -mssse3 +CFLAGS = -g -msse2 endif # ppc doesn't work because we don't support big-endian diff --git a/src/makefile.unix b/src/makefile.unix index 0d03ff3..6ec04ce 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -82,11 +82,7 @@ DEBUGFLAGS=-g ifeq (${ARCH}, i686) - EXT_OPTIONS=-msse2 -mssse3 -endif - -ifeq (${ARCH}, x86_64) - EXT_OPTIONS=-mssse3 + EXT_OPTIONS=-msse2 endif xOPT_LEVEL=-O2 -- 1.7.1