Improve Stack Protector check

FossilOrigin-Name: 89571cb96f8e897eec19b332b41f1dfd7b29181a090ca67bc842d9b4d7d798e0
This commit is contained in:
Jonathan Schleifer 2025-03-28 20:30:18 +00:00
parent 28ed7cbfe1
commit 340635512a

View file

@ -229,6 +229,8 @@ AC_DEFUN([BUILDSYS_STACK_PROTECTOR], [
AC_LANG_PROGRAM([ AC_LANG_PROGRAM([
#include <stdio.h> #include <stdio.h>
], [ ], [
char buf[16];
puts("Stack Protector test"); puts("Stack Protector test");
]) ])
], [ ], [
@ -246,6 +248,8 @@ AC_DEFUN([BUILDSYS_STACK_PROTECTOR], [
AC_LANG_PROGRAM([ AC_LANG_PROGRAM([
#include <stdio.h> #include <stdio.h>
], [ ], [
char buf[16];
puts("Stack Protector test"); puts("Stack Protector test");
]) ])
], [ ], [