configure: msvc: fix/simplify setting of flags for hostcc
[ffmpeg.git] / configure
index 1fe505c3f390b0fb13176f1acde4660486e44e5d..ae8e76590ac2a2a911e0179d55a87736add5cee1 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