Skip to content
Snippets Groups Projects
Commit 2da5c38a authored by Will Hawkins's avatar Will Hawkins Committed by Marge Bot
Browse files

Redirect output of musttail attribute test

Compilation output from test for support of musttail attribute leaked to
the console.
parent d10dc6bd
No related branches found
No related tags found
No related merge requests found
......@@ -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])
......
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