don't suppress compiler output in verbose mode

Change-Id: Id628c117bd3f90f7988e6fe4f9c0b12d5ca287e7
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Oswald Buddenhagen 2015-03-18 11:23:14 +01:00
parent 933c2db8ad
commit 10319b6646

6
configure vendored
View File

@ -356,7 +356,11 @@ compilerSupportsFlag()
cat >conftest.cpp <<EOF
int main() { return 0; }
EOF
"$@" -o conftest-out.o conftest.cpp >/dev/null 2>&1
if [ "$OPT_VERBOSE" = "yes" ]; then
"$@" -o conftest-out.o conftest.cpp
else
"$@" -o conftest-out.o conftest.cpp >/dev/null 2>&1
fi
ret=$?
rm -f conftest.cpp conftest-out.o
return $ret