[FFmpeg-cvslog] configure: msvc: fix/simplify setting of flags for hostcc

Mans Rullgard git at videolan.org
Sun Sep 9 13:30:55 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Fri Sep  7 11:13:36 2012 +0100| [6a0200f24de51eeb94a3a1f75ee105786a6e088d] | committer: Mans Rullgard

configure: msvc: fix/simplify setting of flags for hostcc

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6a0200f24de51eeb94a3a1f75ee105786a6e088d
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 1fe505c..ae8e765 100755
--- a/configure
+++ b/configure
@@ -2324,7 +2324,7 @@ probe_cc(){
         _flags='-nologo'
         _cflags='-D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64'
         if [ $pfx = hostcc ]; then
-            _cflags="$cflags -Dsnprintf=_snprintf"
+            append _cflags -Dsnprintf=_snprintf
         fi
         disable aligned_stack
     fi



More information about the ffmpeg-cvslog mailing list