1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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