From 5fd483d0511864a4099c3f0786a708f4e992979e Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Fri, 31 Aug 2012 15:45:07 +0100 Subject: 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 --- config.tests/unix/fvisibility.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.tests/unix/fvisibility.test b/config.tests/unix/fvisibility.test index 22a7dc337a..faae79b98e 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 } -- cgit v1.2.3