--- cyrus-sasl-2.1.23.orig/config/ltmain.sh	2003-07-02 15:29:00.000000000 +0200
+++ cyrus-sasl-2.1.23/config/ltmain.sh	2011-03-30 21:20:59.111809629 +0200
@@ -1081,6 +1081,11 @@ compiler."
 	esac
 	;;
 
+      -fstack-protector*|-flto*)
+	linkopts="$linkopts $arg"
+	continue
+	;;
+
       -l*)
 	if test "$arg" = "-lc"; then
 	  case "$host" in