Changeset: 096bda4f31ce for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=096bda4f31ce
Modified Files:
configure.ag
Branch: Aug2011
Log Message:
-fstack-protector-all -Wstack-protector should work with gcc >= 4,
but are unknow with gcc < 4
diffs (14 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -567,8 +567,8 @@ yes-*-*)
;;
esac
case "$CC-$gcc_ver" in
- *clang*-*|*-4.[[3-9]].*|*-[[5-9]].*)
- dnl this triggers a warning (-> error) with gcc < 4.3
+ *clang*-*|*-[[4-9]].*)
+ dnl gcc < 4 does not know these
X_CFLAGS="$X_CFLAGS -fstack-protector-all -Wstack-protector"
;;
esac
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list