[libav-commits] configure: msvc: fix/simplify setting of flags for hostcc

Mans Rullgard git at libav.org
Sat Sep 8 16:09:23 CEST 2012


Module: libav
Branch: master
Commit: 6a0200f24de51eeb94a3a1f75ee105786a6e088d

Author:    Mans Rullgard <mans at mansr.com>
Committer: Mans Rullgard <mans at mansr.com>
Date:      Fri Sep  7 11:13:36 2012 +0100

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

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

---

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

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 libav-commits mailing list