libgpg-error: fix riscv64
[openadk.git] / package / cyrus-sasl / patches / patch-config_ltmain_sh
blob01b5a992c387ce71bb226a33361c13808ae06bd6
1 --- cyrus-sasl-2.1.23.orig/config/ltmain.sh     2003-07-02 15:29:00.000000000 +0200
2 +++ cyrus-sasl-2.1.23/config/ltmain.sh  2011-03-30 21:20:59.111809629 +0200
3 @@ -1081,6 +1081,11 @@ compiler."
4         esac
5         ;;
6  
7 +      -fstack-protector*|-flto*)
8 +       linkopts="$linkopts $arg"
9 +       continue
10 +       ;;
12        -l*)
13         if test "$arg" = "-lc"; then
14           case "$host" in