summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-10-29 11:56:39 -0400
committerBen Gamari <ben@smart-cactus.org>2021-10-29 11:56:39 -0400
commit3d1ed315f79ab41f6bb2d3e1b0c270b8465f5790 (patch)
tree781cc2bbec6bbf811d54496ff6762fbabc08f9b7
parentcc0cc8e78a8972df49f1f12bfe6b8d5f2586f134 (diff)
downloadhaskell-wip/fixes.tar.gz
configure: Hide error output from --target checkwip/fixes
-rw-r--r--m4/fp_cc_supports_target.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/fp_cc_supports_target.m4 b/m4/fp_cc_supports_target.m4
index b99b5bf194..080c9f5d40 100644
--- a/m4/fp_cc_supports_target.m4
+++ b/m4/fp_cc_supports_target.m4
@@ -12,7 +12,7 @@ AC_DEFUN([FP_CC_SUPPORTS_TARGET],
AC_REQUIRE([FPTOOLS_SET_PLATFORM_VARS])
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