Module: xenomai-3
Branch: master
Commit: 52fb91ed0ab4e06f77db99e14a56576d7fbe1387
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=52fb91ed0ab4e06f77db99e14a56576d7fbe1387

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Feb 20 10:22:15 2015 +0100

build: do not set _FORTIFY_SOURCE in autodetect mode

---

 configure    |    2 +-
 configure.ac |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index b187729..07c0c86 100755
--- a/configure
+++ b/configure
@@ -14278,7 +14278,7 @@ fi
 
 XENO_USER_CFLAGS="$XENO_USER_APP_CFLAGS -pipe -fstrict-aliasing \
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long 
-Wno-unused-parameter -Werror"
-if test x$want_fortify != xno -a x$debug_mode != xfull; then
+if test x$want_fortify = xyes -a x$debug_mode != xfull; then
    XENO_USER_CFLAGS="$XENO_USER_CFLAGS -D_FORTIFY_SOURCE=1"
 fi
 XENO_USER_LDADD="$XENO_USER_APP_LDFLAGS"
diff --git a/configure.ac b/configure.ac
index 79c121e..ca26fd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -696,7 +696,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"
-if test x$want_fortify != xno -a x$debug_mode != xfull; then
+if test x$want_fortify = xyes -a x$debug_mode != xfull; then
    XENO_USER_CFLAGS="$XENO_USER_CFLAGS -D_FORTIFY_SOURCE=1"
 fi
 XENO_USER_LDADD="$XENO_USER_APP_LDFLAGS"


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

Reply via email to