all.sh: Skip build_mingw correctly
If i686-w64-mingw32-gcc is not installed, then build_mingw should be unsupported. Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
f78a10052c
commit
51b5f00a43
1 changed files with 2 additions and 2 deletions
|
@ -3647,8 +3647,8 @@ component_build_mingw () {
|
|||
make WINDOWS_BUILD=1 clean
|
||||
}
|
||||
support_build_mingw() {
|
||||
case $(i686-w64-mingw32-gcc -dumpversion) in
|
||||
[0-5]*) false;;
|
||||
case $(i686-w64-mingw32-gcc -dumpversion 2>/dev/null) in
|
||||
[0-5]*|"") false;;
|
||||
*) true;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue