summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorWill Hawkins <hawkinsw@obs.cr>2022-11-22 19:50:06 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-11-26 04:05:04 -0500
commit2da5c38a45fcfd9778d7d89d0946aa475ae96627 (patch)
tree214fb23886e0840733a58f40b05fc17ad09da894 /m4
parentd10dc6bdade0fdae879e5869038ce8378c2ce84f (diff)
downloadhaskell-2da5c38a45fcfd9778d7d89d0946aa475ae96627.tar.gz
Redirect output of musttail attribute test
Compilation output from test for support of musttail attribute leaked to the console.
Diffstat (limited to 'm4')
-rw-r--r--m4/fp_musttail.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/fp_musttail.m4 b/m4/fp_musttail.m4
index e309f44c7b..0c61c2ad4c 100644
--- a/m4/fp_musttail.m4
+++ b/m4/fp_musttail.m4
@@ -5,7 +5,7 @@ AC_DEFUN([FP_MUSTTAIL],
[
AC_MSG_CHECKING([whether __attribute__((musttail)) is supported])
echo 'extern int foo(void); int bar(void) { __attribute__((musttail)) return foo(); }' > conftest.c
- if $CC -c conftest.c -o conftest.o
+ if $CC -c conftest.c -o conftest.o > /dev/null 2>&1
then
AC_MSG_RESULT([yes])
AC_DEFINE(HAS_MUSTTAIL, 1, [Has musttail])