summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-ios-clang/features/default_post.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/macx-ios-clang/features/default_post.prf')
-rw-r--r--mkspecs/macx-ios-clang/features/default_post.prf16
1 files changed, 16 insertions, 0 deletions
diff --git a/mkspecs/macx-ios-clang/features/default_post.prf b/mkspecs/macx-ios-clang/features/default_post.prf
index 8d46f35201..3428823624 100644
--- a/mkspecs/macx-ios-clang/features/default_post.prf
+++ b/mkspecs/macx-ios-clang/features/default_post.prf
@@ -192,6 +192,22 @@ macx-xcode {
QMAKE_CXXFLAGS += -stdlib=libstdc++
QMAKE_LFLAGS += -stdlib=libstdc++
}
+
+ # Make the default debug information format for debug builds
+ # DWARF instead of DWARF with dSYM. This cuts down build times
+ # for application debug builds significantly, as Xcode doesn't
+ # have to pull out all the DWARF info from our static libraries
+ # and put it into a dSYM file. We don't need that dSYM file in
+ # the first place, since the information is available in the
+ # object files inside the archives (static libraries). The only
+ # unfortunate side effect of this is that the user won't be
+ # able to break on specific lines of main(). This is due to
+ # using ld to rename the main-function, and will go away once
+ # we implement a separate tool to do the symbol renaming.
+ debug_information_format.name = DEBUG_INFORMATION_FORMAT
+ debug_information_format.value = dwarf
+ debug_information_format.build = debug
+ QMAKE_MAC_XCODE_SETTINGS += debug_information_format
}
macx-xcode {