Module: xenomai-3
Branch: next
Commit: 5f743fb6aa8d651316f20ebdefcc0e081a905539
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5f743fb6aa8d651316f20ebdefcc0e081a905539

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 330c766..59ea776 100644
--- a/configure.ac
+++ b/configure.ac
@@ -659,7 +659,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