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:
parent
fb4e983e0c
commit
6a0200f24d
2
configure
vendored
2
configure
vendored
@ -2324,7 +2324,7 @@ probe_cc(){
|
|||||||
_flags='-nologo'
|
_flags='-nologo'
|
||||||
_cflags='-D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64'
|
_cflags='-D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64'
|
||||||
if [ $pfx = hostcc ]; then
|
if [ $pfx = hostcc ]; then
|
||||||
_cflags="$cflags -Dsnprintf=_snprintf"
|
append _cflags -Dsnprintf=_snprintf
|
||||||
fi
|
fi
|
||||||
disable aligned_stack
|
disable aligned_stack
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user