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

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2012-09-07 11:13:36 +01:00
parent fb4e983e0c
commit 6a0200f24d

2
configure vendored
View File

@ -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