From 8f3b2f9f02968328950170c1783968536176fd06 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 22 Apr 2015 12:39:23 +0200 Subject: 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 --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure') 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 } -- cgit v1.2.3