configure: remove unused PLATFORMS variable
PLATFORMS is unused. Also remove the loop that printed all the PLATFORMS when the mkspec couldn't be autodetected. Even if the PLATFORMS variable was moved up, it wouldn't work anyway since it detects files and not directories. Change-Id: Id483c431a179fb01fcf680538e28c81763bc0b90 Reviewed-by: Donald Carr <donald.carr@nokia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
parent
2a8c423577
commit
2d598e472a
6
configure
vendored
6
configure
vendored
@ -2355,10 +2355,6 @@ if [ -z "$PLATFORM" ]; then
|
||||
;;
|
||||
*)
|
||||
if [ "$OPT_HELP" != "yes" ]; then
|
||||
echo
|
||||
for p in $PLATFORMS; do
|
||||
echo " $relconf $* -platform $p"
|
||||
done
|
||||
echo >&2
|
||||
echo " The build script does not currently recognize all" >&2
|
||||
echo " platforms supported by Qt." >&2
|
||||
@ -2370,8 +2366,6 @@ if [ -z "$PLATFORM" ]; then
|
||||
esac
|
||||
fi
|
||||
|
||||
PLATFORMS=`find "$relpath/mkspecs/" -type f | grep -v qws | sed "s,$relpath/mkspecs/qws/,,"`
|
||||
|
||||
[ -z "$XPLATFORM" ] && XPLATFORM="$PLATFORM"
|
||||
|
||||
case `basename "$XPLATFORM"` in win32-g++*) XPLATFORM_MINGW=yes;; esac
|
||||
|
Loading…
Reference in New Issue
Block a user