summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-04-22 12:39:23 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-04-23 19:16:42 +0000
commit8f3b2f9f02968328950170c1783968536176fd06 (patch)
tree51add876f5253b7e7352022255e90b0824b33c3d /configure
parentf99a270f104ef9460481271ab86d311d2e8f198a (diff)
compilerSupportsFlag(): remove bogus .o suffix from test executables
this function does not just compile, but it also links, so the output file should have no object file extension. Change-Id: I65dd9bd334478545ceeabe9d1aacb44d9583cdd7 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 03421dfc4c..b0c6ac0bc2 100755
--- a/configure
+++ b/configure
@@ -357,12 +357,12 @@ compilerSupportsFlag()
int main() { return 0; }
EOF
if [ "$OPT_VERBOSE" = "yes" ]; then
- "$@" -o conftest-out.o conftest.cpp
+ "$@" -o conftest-out conftest.cpp
else
- "$@" -o conftest-out.o conftest.cpp >/dev/null 2>&1
+ "$@" -o conftest-out conftest.cpp >/dev/null 2>&1
fi
ret=$?
- rm -f conftest.cpp conftest-out.o
+ rm -f conftest.cpp conftest-out
return $ret
}