[FFmpeg-cvslog] r23013 - trunk/configure

mru subversion
Mon May 3 17:14:56 CEST 2010


Author: mru
Date: Mon May  3 17:14:55 2010
New Revision: 23013

Log:
configure: allow compiler-specific flags for --disable-optimizations

ICC needs at least -O1 to link so add this when optimisations are
otherwise disabled.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon May  3 07:57:48 2010	(r23012)
+++ trunk/configure	Mon May  3 17:14:55 2010	(r23013)
@@ -1731,6 +1731,7 @@ elif $cc --version 2>/dev/null | grep -q
     AS_DEPFLAGS='-MMD'
     speed_cflags='-O3'
     size_cflags='-Os'
+    noopt_cflags='-O1'
 elif $cc -v 2>&1 | grep -q xlc; then
     cc_type=xlc
     cc_version="AV_STRINGIFY(__IBMC__)"
@@ -2738,6 +2739,8 @@ if enabled small; then
     optimizations="small"
 elif enabled optimizations; then
     add_cflags $speed_cflags
+else
+    add_cflags $noopt_cflags
 fi
 check_cflags -fno-math-errno
 check_cflags -fno-signed-zeros



More information about the ffmpeg-cvslog mailing list