diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-04-22 12:39:23 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-04-23 19:16:42 +0000 |
commit | 8f3b2f9f02968328950170c1783968536176fd06 (patch) | |
tree | 51add876f5253b7e7352022255e90b0824b33c3d /configure | |
parent | f99a270f104ef9460481271ab86d311d2e8f198a (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-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |