From 35aadad54946a454dda7f7c342798d8d07d5e86c Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sat, 6 Nov 2021 17:07:38 -0700 Subject: [PATCH] build: Remove _FORTIFY_SOURCE=2 flags. Leave it to the user to determine hardening flags by using config.site. --- configure.ac | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0e157426..5eb46a2e 100644 --- a/configure.ac +++ b/configure.ac @@ -50,8 +50,6 @@ AC_PROG_RANLIB AC_PROG_YACC dnl Checks for library functions. -AX_CHECK_COMPILE_FLAG([-D_FORTIFY_SOURCE=2], - [CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"]) AX_PTHREAD(, AC_MSG_ERROR([POSIX threads are required.])) CC="$PTHREAD_CC" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" -- 2.11.4.GIT