  
  die_unknown(){
      echo "Unknown option \"$1\"."
+@@ -2144,7 +2144,7 @@
+         CC_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+         AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+     fi
+-    speed_cflags='-O3'
++    speed_cflags='-O2'
+     size_cflags='-Os'
+ elif $cc --version 2>/dev/null | grep -q Intel; then
+     cc_type=icc
 @@ -2831,10 +2831,6 @@
  struct { int x; } __attribute__((packed)) x;
  EOF

 fast_unaligned_if_any="armv6 ppc x86"
 
 inline_asm_deps="!tms470"
@@ -1948,6 +1947,7 @@
 done
 

             av_log(c, AV_LOG_ERROR, "unsupported planar RGB conversion %s -> %s\n",
                     av_get_pix_fmt_name(c->srcFormat), av_get_pix_fmt_name(c->dstFormat));
diff --git a/configure b/configure 
--- ffmpeg-0.10/configure       2012-01-26 22:15:59.047710208 +0000
+++ ffmpeg-0.10-haiku/configure 2012-03-28 22:30:34.330563584 +0000
@@ -1359,7 +1359,6 @@
 
 aligned_stack_if_any="ppc x86"
