all.sh: Require i686-w64-mingw32-gcc version >= 6

Require mingw gcc version 6 or greater in order to ensure
BCryptGenRandom() is available.
This commit is contained in:
Jaeden Amero 2019-04-17 15:19:26 +01:00
parent f790a6cbee
commit 117b8a4516

View file

@ -1209,6 +1209,12 @@ component_build_mingw () {
make CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar LD=i686-w64-minggw32-ld CFLAGS='-Werror -Wall -Wextra' WINDOWS_BUILD=1 SHARED=1 tests
make WINDOWS_BUILD=1 clean
}
support_build_mingw() {
case $(i686-w64-mingw32-gcc -dumpversion) in
[0-5]*) false;;
*) true;;
esac
}
component_test_memsan () {
msg "build: MSan (clang)" # ~ 1 min 20s