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

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


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

Remove stray -O flag when testing for MMX and SSE

(cherry picked from commit d13f0eaaed1232ccfb09a4b81aafcf864351e3e7)

Conflicts:

	configure.ac

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

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

diff --git a/configure.ac b/configure.ac
index 6017b40..f259fbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1139,7 +1139,7 @@ AS_IF([test "${enable_mmx}" != "no"], [
   ARCH="${ARCH} mmx"
 
   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([
 [#include <mmintrin.h>
 #include <stdint.h>
@@ -1226,7 +1226,7 @@ AS_IF([test "${enable_sse}" != "no"], [
   ARCH="${ARCH} sse sse2"
 
   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([
 [#include <emmintrin.h>
 #include <stdint.h>



More information about the vlc-commits mailing list