Commit 6a0200f2 authored by Mans Rullgard's avatar Mans Rullgard

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

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent fb4e983e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment