qi: Fix 'rootdir' value, include post-install from proper location
[dragora.git] / patches / perl / perl-fnostack-protector
blobb4f82710711036e546c49d574577e091cbd48c62
1 --- Configure.orig      2013-05-10 11:13:56.000000000 -0300
2 +++ Configure   2013-05-20 17:02:58.000000000 -0300
3 @@ -5119,7 +5119,7 @@
4         # as that way the compiler can do the right implementation dependant
5         # thing. (NWC)
6         case "$gccversion" in
7 -       ?*)     set stack-protector -fstack-protector
8 +       ?*)     set stack-protector -fnostack-protector
9                 eval $checkccflag
10                 ;;
11         esac
12 @@ -5261,12 +5261,12 @@
13         ;;
14  *) dflt="$ldflags";;
15  esac
16 -# See note above about -fstack-protector
17 +# See note above about -fnostack-protector
18  case "$ccflags" in
19 -*-fstack-protector*)
20 +*-fnostack-protector*)
21         case "$dflt" in
22 -       *-fstack-protector*) ;; # Don't add it again
23 -       *) dflt="$dflt -fstack-protector" ;;
24 +       *-fnostack-protector*) ;; # Don't add it again
25 +       *) dflt="$dflt -fnostack-protector" ;;
26         esac
27         ;;
28  esac
29 @@ -8091,10 +8091,10 @@
30         esac
32         case "$ldflags" in
33 -       *-fstack-protector*)
34 +       *-fnostack-protector*)
35             case "$dflt" in
36 -                       *-fstack-protector*) ;; # Don't add it again
37 -                       *) dflt="$dflt -fstack-protector" ;; 
38 +                       *-fnostack-protector*) ;; # Don't add it again
39 +                       *) dflt="$dflt -fnostack-protector" ;; 
40                 esac
41                 ;;
42         esac