summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorIain <qt-info@nokia.com>2009-11-18 21:33:30 (GMT)
committerIain <qt-info@nokia.com>2009-11-18 21:33:30 (GMT)
commit6340cf327515252ffbb21e98486e9abfc713149e (patch)
tree8c4ac02d2932dd9aec64d18aa39f031a30a21da1 /mkspecs
parent0f9c96ead0ae5d52827ae0f0b277178cd2103e46 (diff)
downloadQt-6340cf327515252ffbb21e98486e9abfc713149e.zip
Qt-6340cf327515252ffbb21e98486e9abfc713149e.tar.gz
Qt-6340cf327515252ffbb21e98486e9abfc713149e.tar.bz2
Disable linker warning 6780 in RVCT builds for Symbian OS
The linker warning that indicates symbol visibility changes is not useful as it is an expected change to symbol visibility and produces lots of clutter in the build logs. (It is not desirable to follow the ELF spec when it comes to symbol visibility in this case, which is why the linker warns and we ignore it) This is likely to be a Raptor-only issue - I believe abld suppresses the warning by default (at least in ABIv1 mode) Also update gui.pro to use LFLAGS rather than MMP_RULES to alter the arguments to ARMCC toolchain. qmake ought to detect this (incorrect) usage of MMP_RULES and abort MMP file generation - raised QTBU-5961 to look at this. Reviewed-by: Shane Kearns
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/symbian/armcc_warnings.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/armcc_warnings.prf b/mkspecs/features/symbian/armcc_warnings.prf
index 95b3bc0..72bc996 100644
--- a/mkspecs/features/symbian/armcc_warnings.prf
+++ b/mkspecs/features/symbian/armcc_warnings.prf
@@ -8,3 +8,6 @@
# 2874: <variable> may be used before being set (this one sounds useful, but
# it's output also for class instances, making it useless in practice)
QMAKE_CFLAGS.ARMCC += --diag_suppress 111,185,191,368,1293,1294,2874
+
+# 6780: <origvis> visibility removed from symbol '<symname>' through <impexp>
+QMAKE_LFLAGS.ARMCC += --diag_suppress 6780