diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-09-01 22:20:01 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:42:55 +0300 |
commit | 580797ec7352ccfb91340e3174602300bf5a9500 (patch) | |
tree | 5ce215954aba49370a7f784a11c020a220004c1c /tools | |
parent | 78aa7272ca438e4d2da7fe1ec27a7eb91de4cb83 (diff) |
[ios] Use Clang only for simulator builds
Diffstat (limited to 'tools')
-rw-r--r-- | tools/autobuild/ios.sh | 2 | ||||
-rw-r--r-- | tools/mkspecs/iphonedevice-clang/qmake.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/autobuild/ios.sh b/tools/autobuild/ios.sh index b16dcd870a..c06785b2e9 100644 --- a/tools/autobuild/ios.sh +++ b/tools/autobuild/ios.sh @@ -34,7 +34,7 @@ if [[ $CONFIGURATION == "simulator" ]]; then MKSPEC="$LOCAL_DIRNAME/../mkspecs/iphonesimulator-clang" else SHADOW_DIR="${SHADOW_DIR_BASE}-${CONFIGURATION}" - MKSPEC="$LOCAL_DIRNAME/../mkspecs/iphonedevice-clang" + MKSPEC="$LOCAL_DIRNAME/../mkspecs/iphonedevice-llvm" fi if [[ $# > 1 && "$2" == "clean" ]] ; then diff --git a/tools/mkspecs/iphonedevice-clang/qmake.conf b/tools/mkspecs/iphonedevice-clang/qmake.conf index ec19f02b2b..6c0da306fb 100644 --- a/tools/mkspecs/iphonedevice-clang/qmake.conf +++ b/tools/mkspecs/iphonedevice-clang/qmake.conf @@ -69,7 +69,7 @@ QMAKE_CFLAGS += -pipe -miphoneos-version-min=4.0 QMAKE_CFLAGS_DEPS += -M QMAKE_CFLAGS_WARN_ON += -Wall -W QMAKE_CFLAGS_WARN_OFF += -w -QMAKE_CFLAGS_RELEASE += -O3 +QMAKE_CFLAGS_RELEASE += -O4 QMAKE_CFLAGS_DEBUG += -g QMAKE_CFLAGS_SHLIB += QMAKE_CFLAGS_STATIC_LIB += |