QNX: Tidy up QMAKE_LFLAGS in qnx mkspecs
authorSean Harmer <sean.harmer.qnx@kdab.com>
Mon, 3 Sep 2012 13:50:33 +0000 (14:50 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Sep 2012 18:33:48 +0000 (20:33 +0200)
commite3224554272600a22fd9d22bdb754832b5127da2
tree6b3abbfc255fd39b9422ff84e3380bc89e9fe2af
parent5a1fa8860ca466bc109f1195e1e4b92c0c92018d
QNX: Tidy up QMAKE_LFLAGS in qnx mkspecs

We do not need to include -lang-c++ more than once in QMAKE_LFLAGS*
variables. The fact that this was not appearing more than once was due
to QMAKE_LFLAGS being overwritten (rather than appended to) in
qcc-base-qnx.conf and a weird coincindence in qmake's code to dedupe
libraries passed in to QMAKE_LFLAGS. The deduping was working based
upon options beginning with "-l", including the -lang-c++ option here.

Change-Id: I983f216c0e362a9fe6a924074c5d84aaa659a14f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
mkspecs/common/qcc-base-qnx.conf
mkspecs/common/qcc-base.conf