--- freem/src/Makefile.am 2025/04/12 00:54:17 1.13 +++ freem/src/Makefile.am 2025/04/13 04:22:43 1.14 @@ -1,5 +1,5 @@ # -# $Id: Makefile.am,v 1.13 2025/04/12 00:54:17 snw Exp $ +# $Id: Makefile.am,v 1.14 2025/04/13 04:22:43 snw Exp $ # automake rules for main body of FreeM source code # # @@ -24,6 +24,9 @@ # along with FreeM. If not, see . # # $Log: Makefile.am,v $ +# Revision 1.14 2025/04/13 04:22:43 snw +# Fix snprintf calls +# # Revision 1.13 2025/04/12 00:54:17 snw # Set -fno-stack-protector and -fno-mudflap where available, and set _FORTIFY_SOURCE to 0 everywhere # @@ -56,8 +59,8 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # -AM_CFLAGS = -fsigned-char #-Wall -AM_CPPFLAGS = -DHACK_NOXLATE -D_FORTIFY_SOURCE=0 -DSYSCONFDIR=\"${sysconfdir}\" -DPREFIX=\"${prefix}\" -DDATADIR=\"${datadir}\" -DLOCALSTATEDIR=\"${localstatedir}\" -DHOST=\"${host_triplet}\" +AM_CFLAGS = -fsigned-char -Wall -Wextra -pedantic +AM_CPPFLAGS = -DHACK_NOXLATE -D_FORTIFY_SOURCE=1 -DSYSCONFDIR=\"${sysconfdir}\" -DPREFIX=\"${prefix}\" -DDATADIR=\"${datadir}\" -DLOCALSTATEDIR=\"${localstatedir}\" -DHOST=\"${host_triplet}\" freem_headers = config.h errmsg.h events.h fmadm.h fma_globals.h fma_jobs.h \ fma_journals.h fma_locks.h fma_routines.h freem.h iftab.h iniconf.h \