Commit acb1f527 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove stray -O flag when testing for MMX and SSE

(cherry picked from commit d13f0eaa)

Conflicts:

	configure.ac
parent e13abb90
...@@ -1139,7 +1139,7 @@ AS_IF([test "${enable_mmx}" != "no"], [ ...@@ -1139,7 +1139,7 @@ AS_IF([test "${enable_mmx}" != "no"], [
ARCH="${ARCH} mmx" ARCH="${ARCH} mmx"
AC_CACHE_CHECK([if $CC groks MMX intrinsics], [ac_cv_c_mmx_intrinsics], [ AC_CACHE_CHECK([if $CC groks MMX intrinsics], [ac_cv_c_mmx_intrinsics], [
CFLAGS="${CFLAGS_save} -O -mmmx" CFLAGS="${CFLAGS_save} -mmmx"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
[#include <mmintrin.h> [#include <mmintrin.h>
#include <stdint.h> #include <stdint.h>
...@@ -1226,7 +1226,7 @@ AS_IF([test "${enable_sse}" != "no"], [ ...@@ -1226,7 +1226,7 @@ AS_IF([test "${enable_sse}" != "no"], [
ARCH="${ARCH} sse sse2" ARCH="${ARCH} sse sse2"
AC_CACHE_CHECK([if $CC groks SSE2 intrinsics], [ac_cv_c_sse2_intrinsics], [ AC_CACHE_CHECK([if $CC groks SSE2 intrinsics], [ac_cv_c_sse2_intrinsics], [
CFLAGS="${CFLAGS_save} -O -msse2" CFLAGS="${CFLAGS_save} -msse2"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
[#include <emmintrin.h> [#include <emmintrin.h>
#include <stdint.h> #include <stdint.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment