summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/toolchain.prf
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-05-27 13:55:33 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-05-28 18:40:57 +0000
commitd479c6db2c8d723994ba2eee8f54f94dae826c84 (patch)
treed90b53ecf5a4f4cb1a02dbf9b3402c6e34ecacf5 /mkspecs/features/toolchain.prf
parent93c8b4c0c88263569a4f2856e035aa40b7c107f2 (diff)
Override debug generation request on mac for toolchain.prf
Override request for debug info during compiler 'test', otherwise call to dsymutil will fail call with /dev/null. Use case here is to pass for example -glldb with CXXFLAGS. Fixes: QTBUG-62953 Fixes: QTBUG-84467 Pick-to: 5.15 Change-Id: Ief8f987afb40d0b90da732195d67d476e7bb3aff Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'mkspecs/features/toolchain.prf')
-rw-r--r--mkspecs/features/toolchain.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf
index 03612e5689..9d790f62bc 100644
--- a/mkspecs/features/toolchain.prf
+++ b/mkspecs/features/toolchain.prf
@@ -193,7 +193,7 @@ isEmpty($${target_prefix}.INCDIRS) {
cxx_flags += $$QMAKE_LFLAGS_SHLIB -o $$QMAKE_SYSTEM_NULL_DEVICE -v
else: darwin:clang: \
# Need to link to pick up library paths
- cxx_flags += $$QMAKE_LFLAGS_SHLIB -o /dev/null -v -Wl,-v
+ cxx_flags += -g0 $$QMAKE_LFLAGS_SHLIB -o /dev/null -v -Wl,-v
else: \
# Just preprocess, might not pick up library paths
cxx_flags += -E -v