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

configure: enable stack-protector with strict

The code should be sort of alloca-free now.  Allow Ubuntu to compile,
for as long as we don't clean up the flag code entirely.


diffs (12 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -569,7 +569,7 @@ yes-*-*)
        case "$CC-$gcc_ver" in
        *clang*-*|*-4.[[3-9]].*|*-[[5-9]].*)
                dnl this triggers a warning (-> error) with gcc < 4.3
-               X_CFLAGS="$X_CFLAGS -Wstack-protector"
+               X_CFLAGS="$X_CFLAGS -fstack-protector-all -Wstack-protector"
                ;;
        esac
        case "$CC-$gcc_ver" in
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to