diff options
author | Sean Harmer <sean.harmer.qnx@kdab.com> | 2012-08-31 14:45:07 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-31 20:21:28 (GMT) |
commit | 5fd483d0511864a4099c3f0786a708f4e992979e (patch) | |
tree | dbe307885e06a00938f1308baf48ad06f3c3578f | |
parent | 55e0d4fb1b830f8a28a06bbf6cf3a6682944df9b (diff) | |
download | Qt-5fd483d0511864a4099c3f0786a708f4e992979e.zip Qt-5fd483d0511864a4099c3f0786a708f4e992979e.tar.gz Qt-5fd483d0511864a4099c3f0786a708f4e992979e.tar.bz2 |
Fix fvisibility.test for "QMAKE_CXX = ccache g++"
Or other compilers composed of more than one word (e.g. QNX's compiler
qcc -Vgcc_ntoarmv7le)
Testcase: adding this line at the end of mkspecs/linux-g++-64/qmake.conf
QMAKE_CXX = ccache g++
Result:
fvisibility.test: line 28: ccache g++: command not found
Symbol visibility control disabled.
Result after fix:
Symbol visibility control enabled.
Backport of f1f500b9aa70edfc7511a714c9aefb132d66f10e
Change-Id: If3b0ef2d3ab4e2ff0cb11272ca6d4f8c6ed819b1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rwxr-xr-x | config.tests/unix/fvisibility.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.tests/unix/fvisibility.test b/config.tests/unix/fvisibility.test index 22a7dc3..faae79b 100755 --- a/config.tests/unix/fvisibility.test +++ b/config.tests/unix/fvisibility.test @@ -25,9 +25,9 @@ __global void blah(); EOF if [ "$VERBOSE" = "yes" ] ; then - "$COMPILER" -c $CMDLINE fvisibility.c && FVISIBILITY_SUPPORT=yes + $COMPILER -c $CMDLINE fvisibility.c && FVISIBILITY_SUPPORT=yes else - "$COMPILER" -c $CMDLINE fvisibility.c >/dev/null 2>&1 && FVISIBILITY_SUPPORT=yes + $COMPILER -c $CMDLINE fvisibility.c >/dev/null 2>&1 && FVISIBILITY_SUPPORT=yes fi rm -f fvisibility.c fvisibility.o } |