configure: msvc: fix/simplify setting of flags for hostcc
authorMans Rullgard <mans@mansr.com>
Fri, 7 Sep 2012 10:13:36 +0000 (11:13 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 8 Sep 2012 14:09:13 +0000 (15:09 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure

index 1fe505c..ae8e765 100755 (executable)
--- 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