Module: xenomai-3
Branch: stable-3.0.x
Commit: 0246d22063136edf9debb762a68f6c64cefafb64
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0246d22063136edf9debb762a68f6c64cefafb64

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Mar 10 10:52:53 2018 +0100

build: enable -Wformat-security by default

---

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 24fe7cc..82aea1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -631,7 +631,7 @@ fi
 dnl Internal CFLAGS and LDFLAGS, may be enhanced per-arch below
 XENO_USER_CFLAGS="$XENO_USER_APP_CFLAGS -pipe -fstrict-aliasing \
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long \
--Wno-unused-parameter -Werror -D__XENO__ -D__IN_XENO__"
+-Wno-unused-parameter -Werror -Wformat-security -D__XENO__ -D__IN_XENO__"
 if test x$want_fortify = xyes -a x$debug_mode != xfull; then
    XENO_USER_CFLAGS="$XENO_USER_CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
 fi


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to