[vlc-commits] Remove stray -O flag when testing for MMX and SSE

Rémi Denis-Courmont git at videolan.org
Tue Feb 7 21:14:57 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb  7 22:14:31 2012 +0200| [d13f0eaaed1232ccfb09a4b81aafcf864351e3e7] | committer: Rémi Denis-Courmont

Remove stray -O flag when testing for MMX and SSE

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d13f0eaaed1232ccfb09a4b81aafcf864351e3e7
---

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index af4ea13..2567fb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1100,7 +1100,7 @@ have_mmxext="no"
 AS_IF([test "${enable_mmx}" != "no"], [
   ARCH="${ARCH} mmx"
   VLC_SAVE_FLAGS
-  CFLAGS="${CFLAGS} -O -mmmx"
+  CFLAGS="${CFLAGS} -mmmx"
   AC_CACHE_CHECK([if $CC groks MMX intrinsics], [ac_cv_c_mmx_intrinsics], [
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
 [#include <mmintrin.h>
@@ -1184,7 +1184,7 @@ AS_IF([test "${enable_sse}" != "no"], [
   ARCH="${ARCH} sse sse2"
 
   VLC_SAVE_FLAGS
-  CFLAGS="${CFLAGS} -O -msse2"
+  CFLAGS="${CFLAGS} -msse2"
   AC_CACHE_CHECK([if $CC groks SSE2 intrinsics], [ac_cv_c_sse2_intrinsics], [
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
 [#include <emmintrin.h>



More information about the vlc-commits mailing list