From 2eeab8f39c865c73eb3af26fb996f246313a109e Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 27 May 2018 08:56:34 -0500 Subject: Always build with SSE2 support when using GCC --- build/autoconf/compiler-opts.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4 index c47d792f4..82d0b43fc 100644 --- a/build/autoconf/compiler-opts.m4 +++ b/build/autoconf/compiler-opts.m4 @@ -176,8 +176,8 @@ if test "$GNU_CC"; then CFLAGS="$CFLAGS -ffunction-sections -fdata-sections" CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections" fi - CFLAGS="$CFLAGS -fno-math-errno" - CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno" + CFLAGS="$CFLAGS -fno-math-errno -msse2 -mfpmath=sse" + CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno -msse2 -mfpmath=sse" if test -z "$CLANG_CC"; then case "$CC_VERSION" in -- cgit v1.2.3