Mac OSX: configure will use clang for any version >= 3
Task-number: QTBUG-26140 Change-Id: Ifee00a9d15b053bb9d2c7b0d9bedca45e4d589d3 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
e2217187c3
commit
98033240a8
6
configure
vendored
6
configure
vendored
@ -2311,12 +2311,10 @@ if [ -z "$PLATFORM" ]; then
|
||||
PLATFORM=macx-clang
|
||||
elif [ "$OSX_VERSION" -eq 11 ]; then
|
||||
# We're on Lion. Check if we have a supported Clang version
|
||||
case "$(clang -v 2>&1 | grep -Po '(?<=version )\d[\d.]+')" in
|
||||
3.*)
|
||||
if [ "$(clang -v 2>&1 | grep -Po '(?<=version )[\d]')" -ge 3 ]; then
|
||||
PLATFORM=macx-clang
|
||||
PLATFORM_NOTES="\n - Also available for Mac OS X: macx-g++\n"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
AIX:*)
|
||||
|
Loading…
Reference in New Issue
Block a user