|
@@ -2625,7 +2625,7 @@ probe_cc(){ |
|
|
# -Qdiag-error to make icl error when presented with certain unknown arguments |
|
|
# -Qdiag-error to make icl error when presented with certain unknown arguments |
|
|
_flags='-nologo -Qdiag-error:4044,10157' |
|
|
_flags='-nologo -Qdiag-error:4044,10157' |
|
|
# -Qvec- -Qsimd- to prevent miscompilation, -GS for consistency with msvc which enables it by default |
|
|
# -Qvec- -Qsimd- to prevent miscompilation, -GS for consistency with msvc which enables it by default |
|
|
_cflags='-D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -Qms0 -Qvec- -Qsimd- -GS' |
|
|
|
|
|
|
|
|
_cflags='-D_USE_MATH_DEFINES -FIstdlib.h -Dstrtoll=_strtoi64 -Qms0 -Qvec- -Qsimd- -GS' |
|
|
if [ $pfx = hostcc ]; then |
|
|
if [ $pfx = hostcc ]; then |
|
|
append _cflags -Dsnprintf=_snprintf |
|
|
append _cflags -Dsnprintf=_snprintf |
|
|
fi |
|
|
fi |
|
|