summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-03-11 10:31:58 (GMT)
committercon <qtc-committer@nokia.com>2011-03-11 10:31:58 (GMT)
commit48ebe36a8b5d101c5dcad26d88d6fc0504fc9319 (patch)
treeaf533b49e178a9c48e520cc3b0ab3c6d9c46dc40 /mkspecs
parentb2fb53bcfcac393c31a1dd4f2ef5e6111cb9f51c (diff)
downloadQt-48ebe36a8b5d101c5dcad26d88d6fc0504fc9319.zip
Qt-48ebe36a8b5d101c5dcad26d88d6fc0504fc9319.tar.gz
Qt-48ebe36a8b5d101c5dcad26d88d6fc0504fc9319.tar.bz2
Do release build for devices and remove some warnings.
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/qws/macx-iphonedevice-g++/qmake.conf5
-rw-r--r--mkspecs/qws/macx-iphonesimulator-g++/qmake.conf1
2 files changed, 4 insertions, 2 deletions
diff --git a/mkspecs/qws/macx-iphonedevice-g++/qmake.conf b/mkspecs/qws/macx-iphonedevice-g++/qmake.conf
index 2cef3df..36b9496 100644
--- a/mkspecs/qws/macx-iphonedevice-g++/qmake.conf
+++ b/mkspecs/qws/macx-iphonedevice-g++/qmake.conf
@@ -2,6 +2,7 @@
# qmake configuration for iphone-device-g++
#
include(../../common/mac.conf)
+include(../../common/gcc-base-macx.conf)
include(../../common/g++-macx.conf)
MAKEFILE_GENERATOR = UNIX
@@ -27,9 +28,9 @@ QMAKE_CXX = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-
QMAKE_LINK = $$QMAKE_CXX
QMAKE_LINK_SHLIB = $$QMAKE_CXX
-QMAKE_CFLAGS += -arch armv7 -marm -isysroot $$QMAKE_IOS_SDK -fmessage-length=0 -fexceptions -miphoneos-version-min=4.2 -gdwarf-2
+QMAKE_CFLAGS += -arch armv7 -marm -isysroot $$QMAKE_IOS_SDK -fmessage-length=0 -fexceptions -miphoneos-version-min=4.2
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
-QMAKE_OBJECTIVE_CFLAGS += -arch armv7 -marm -isysroot $$QMAKE_IOS_SDK -fmessage-length=0 -fexceptions -miphoneos-version-min=4.2 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch
+QMAKE_OBJECTIVE_CFLAGS += -arch armv7 -marm -isysroot $$QMAKE_IOS_SDK -fmessage-length=0 -fexceptions -miphoneos-version-min=4.2 -fobjc-abi-version=2 -fobjc-legacy-dispatch
QMAKE_LFLAGS += -arch armv7 -marm -miphoneos-version-min=4.2 -Wl,-syslibroot,$$QMAKE_IOS_SDK
QMAKE_INCDIR_OPENGL =
diff --git a/mkspecs/qws/macx-iphonesimulator-g++/qmake.conf b/mkspecs/qws/macx-iphonesimulator-g++/qmake.conf
index 9a06857..dccab70 100644
--- a/mkspecs/qws/macx-iphonesimulator-g++/qmake.conf
+++ b/mkspecs/qws/macx-iphonesimulator-g++/qmake.conf
@@ -2,6 +2,7 @@
# qmake configuration for macx-g++
#
include(../../common/mac.conf)
+include(../../common/gcc-base-macx.conf)
include(../../common/g++-macx.conf)
MAKEFILE_GENERATOR = UNIX