diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2012-10-09 16:16:27 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-13 05:51:19 +0200 |
commit | 98033240a8fa2fa158b175826186164651937b04 (patch) | |
tree | ffd88584695b644adc5e3a9da894a2c806ce6ee5 /configure | |
parent | e2217187c31833569fd8bd21ee805975597a19d7 (diff) |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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:*) |