Skip to content
Snippets Groups Projects
Commit 6544446d authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

configure: Hide error output from --target check

parent 6b38c8a6
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ AC_DEFUN([FP_CC_SUPPORTS_TARGET],
AC_REQUIRE([GHC_LLVM_TARGET_SET_VAR])
AC_MSG_CHECKING([whether $1 CC supports --target])
echo 'int main() { return 0; }' > conftest.c
if $CC --target=$LlvmTarget -Werror conftest.c > /dev/null ; then
if $CC --target=$LlvmTarget -Werror conftest.c >& /dev/null ; then
CONF_CC_SUPPORTS_TARGET=YES
AC_MSG_RESULT([yes])
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment