don't suppress compiler output in verbose mode
Change-Id: Id628c117bd3f90f7988e6fe4f9c0b12d5ca287e7 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
933c2db8ad
commit
10319b6646
4
configure
vendored
4
configure
vendored
@ -356,7 +356,11 @@ compilerSupportsFlag()
|
|||||||
cat >conftest.cpp <<EOF
|
cat >conftest.cpp <<EOF
|
||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
EOF
|
EOF
|
||||||
|
if [ "$OPT_VERBOSE" = "yes" ]; then
|
||||||
|
"$@" -o conftest-out.o conftest.cpp
|
||||||
|
else
|
||||||
"$@" -o conftest-out.o conftest.cpp >/dev/null 2>&1
|
"$@" -o conftest-out.o conftest.cpp >/dev/null 2>&1
|
||||||
|
fi
|
||||||
ret=$?
|
ret=$?
|
||||||
rm -f conftest.cpp conftest-out.o
|
rm -f conftest.cpp conftest-out.o
|
||||||
return $ret
|
return $ret
|
||||||
|
Loading…
Reference in New Issue
Block a user