Fix fvisibility.test for "QMAKE_CXX = ccache g++"
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. Change-Id: I4049264a38a43e1bee3cb823d53836f0689f0b53 Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
This commit is contained in:
parent
3992c1cb15
commit
f1f500b9aa
@ -25,9 +25,9 @@ __global void blah();
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ "$VERBOSE" = "yes" ] ; then
|
if [ "$VERBOSE" = "yes" ] ; then
|
||||||
"$COMPILER" -c $CMDLINE fvisibility.c && FVISIBILITY_SUPPORT=yes
|
$COMPILER -c $CMDLINE fvisibility.c && FVISIBILITY_SUPPORT=yes
|
||||||
else
|
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
|
fi
|
||||||
rm -f fvisibility.c fvisibility.o
|
rm -f fvisibility.c fvisibility.o
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user