Changeset: 62fefa2b81de for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=62fefa2b81de
Modified Files:
        configure.ag
Branch: Jul2012
Log Message:

FORTIFY_SOURCE on Fedora 17 only allowed when doing optimized compilation.


diffs (23 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -621,9 +621,6 @@ yes-*-*)
                ;;
        esac
 
-       # The default configure invocation when doing an rpmbuild also uses this
-       MCHECK_ADD_FLAG([-Wp,-D_FORTIFY_SOURCE=2])
-
        dnl  Our code is not (yet?) up to these:
        dnl MCHECK_ADD_FLAG([-pedantic-errors])
        dnl MCHECK_ADD_FLAG([-Wno-long-long])
@@ -1086,6 +1083,9 @@ if test "x$enable_optim" = xyes; then
                  # - speeds up and fixes some outputs on sparcv9-solaris
                ;;
       esac
+
+      # The default configure invocation when doing an rpmbuild also uses this
+      MCHECK_ADD_FLAG([-Wp,-D_FORTIFY_SOURCE=2])
       ;;
     *)
       case "$host-$icc_ver" in
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to