SHA256
1
0
forked from pool/schily
schily/schily-stksz.diff

24 lines
772 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2021-08-15 18:31:19.413482687 +0200
Due to VLA support in gcc, the sigsegv_stack test variable needs to be outside
of a function for the test not to generate a false positive.
---
autoconf/configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: schily-2021-08-14/autoconf/configure
===================================================================
--- schily-2021-08-14.orig/autoconf/configure
+++ schily-2021-08-14/autoconf/configure
@@ -6662,8 +6662,8 @@ else
#line 6663 "configure"
#include "confdefs.h"
#include <signal.h>
-int main() {
char sigsegv_stack[SIGSTKSZ];
+int main() {
; return 0; }
EOF
if { { eval echo configure:6670: \"$ac_compile\" ;} 1>&5; { eval $ac_compile ;} 2>&5; }; then