File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -2304,13 +2304,25 @@ dnl ==========================================================================
2304
2304
AC_MSG_CHECKING ( for pedantic )
2305
2305
AC_ARG_ENABLE ( [ pedantic] , [ AC_HELP_STRING ([ --enable-pedantic] , [ enable pedantic compilation flags (no)] )] )
2306
2306
if test "z$enable_pedantic" = "zyes" ; then
2307
- dnl CFLAGS="$CFLAGS -pedantic -Wall -std=c99 -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wredundant-decls"
2308
2307
CFLAGS="$CFLAGS -O -pedantic -Wall -std=c99 -fno-inline -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wredundant-decls"
2309
2308
AC_MSG_RESULT ( [ yes] )
2310
2309
else
2311
2310
AC_MSG_RESULT ( [ disabled] )
2312
2311
fi
2313
2312
2313
+ dnl ==========================================================================
2314
+ dnl Secure memset
2315
+ dnl ==========================================================================
2316
+ AC_MSG_CHECKING ( for secure memset )
2317
+ AC_ARG_ENABLE ( [ secure-memset] , [ AC_HELP_STRING ([ --enable-secure-memset] , [ enable secure memset compilation flags (yes)] )] )
2318
+ if test "z$enable_secure_memset" != "zno" ; then
2319
+ CFLAGS="$CFLAGS -fno-builtin-memset"
2320
+ AC_MSG_RESULT ( [ yes] )
2321
+ else
2322
+ AC_MSG_RESULT ( [ disabled] )
2323
+ fi
2324
+
2325
+
2314
2326
dnl ==========================================================================
2315
2327
dnl Final steps: xmlsec config
2316
2328
dnl ==========================================================================
You can’t perform that action at this time.
0 commit comments