diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-10-29 11:56:39 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-10-31 09:05:52 -0400 |
commit | 6544446db9582bb7abefd829be817b43ef8c991b (patch) | |
tree | 27a1de89dc0570d3a2a008de0f450445d3f8be36 /m4 | |
parent | 6b38c8a6ee395f5f6d23806dd609ee5ad1ff5472 (diff) | |
download | haskell-6544446db9582bb7abefd829be817b43ef8c991b.tar.gz |
configure: Hide error output from --target check
Diffstat (limited to 'm4')
-rw-r--r-- | m4/fp_cc_supports_target.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/fp_cc_supports_target.m4 b/m4/fp_cc_supports_target.m4 index 3ca01d85e1..19591f1453 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([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 |