diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-03 20:44:34 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-03 20:44:34 +0200 |
commit | 2484b250c93f9cca8e0565223a920d77ca1e571e (patch) | |
tree | 5d440cc005f2fd6768e41b661ce23ce2eb863cfd /package/perl/patches/patch-Configure | |
parent | c994348c75f154eecb5ff48392b40c45ec80de55 (diff) | |
parent | 3fbdaa5995707a0e7398b3b78e7b7c195a143f6d (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/perl/patches/patch-Configure')
-rw-r--r-- | package/perl/patches/patch-Configure | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/package/perl/patches/patch-Configure b/package/perl/patches/patch-Configure new file mode 100644 index 000000000..953d03c5e --- /dev/null +++ b/package/perl/patches/patch-Configure @@ -0,0 +1,65 @@ +--- perl-5.12.3.orig/Configure 2011-01-09 21:20:52.000000000 +0100 ++++ perl-5.12.3/Configure 2011-03-19 20:44:59.000000000 +0100 +@@ -5164,11 +5164,11 @@ default|recommended) + # is to add the flag to the flags passed to the compiler at link time, + # as that way the compiler can do the right implementation dependant + # thing. (NWC) +- case "$gccversion" in +- ?*) set stack-protector -fstack-protector +- eval $checkccflag +- ;; +- esac ++ #case "$gccversion" in ++ #?*) set stack-protector -fstack-protector ++ # eval $checkccflag ++ # ;; ++ #esac + ;; + esac + +@@ -5308,14 +5308,14 @@ case "$ldflags" in + *) dflt="$ldflags";; + esac + # See note above about -fstack-protector +-case "$ccflags" in +-*-fstack-protector*) +- case "$dflt" in +- *-fstack-protector*) ;; # Don't add it again +- *) dflt="$dflt -fstack-protector" ;; +- esac +- ;; +-esac ++#case "$ccflags" in ++#*-fstack-protector*) ++# case "$dflt" in ++# *-fstack-protector*) ;; # Don't add it again ++# *) dflt="$dflt -fstack-protector" ;; ++# esac ++# ;; ++#esac + + : Try to guess additional flags to pick up local libraries. + for thislibdir in $libpth; do +@@ -8107,14 +8107,14 @@ EOM + ''|' ') dflt='none' ;; + esac + +- case "$ldflags" in +- *-fstack-protector*) +- case "$dflt" in +- *-fstack-protector*) ;; # Don't add it again +- *) dflt="$dflt -fstack-protector" ;; +- esac +- ;; +- esac ++# case "$ldflags" in ++# *-fstack-protector*) ++# case "$dflt" in ++# *-fstack-protector*) ;; # Don't add it again ++# *) dflt="$dflt -fstack-protector" ;; ++# esac ++# ;; ++# esac + + + rp="Any special flags to pass to $ld to create a dynamically loaded library?" |