configurator: fix HAVE_UCONTEXT test on Ubuntu 16.04.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 26 Apr 2016 04:55:22 +0000 (14:25 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 26 Apr 2016 04:55:22 +0000 (14:25 +0930)
Seems to want more stack.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/configurator/configurator.c

index 370170b80c5866acf0151038e59bedcf6d39c787..5d959cf33c6b04bdad29c8df6fb3d5f7e77874bc 100644 (file)
@@ -323,7 +323,7 @@ static struct test tests[] = {
          NULL, NULL,
          "#include <ucontext.h>\n"
          "static int x = 0;\n"
-         "static char stack[1024];\n"
+         "static char stack[2048];\n"
          "static ucontext_t a, b;\n"
          "static void fn(void) {\n"
          "     x |= 2;\n"