diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2014-03-16 09:59:44 +0100 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2014-03-16 09:59:44 +0100 |
commit | a62f0e8c1ab1c91dd26962450e92eba14dfa6e52 (patch) | |
tree | 14d7b33295455b21082d975dd806bcd76d59adab /Configure | |
parent | e9251c1a8f4944e6dceff5240d9e109ba075ff29 (diff) | |
download | perl-a62f0e8c1ab1c91dd26962450e92eba14dfa6e52.tar.gz |
Configure misdetects strlcpy et al. with gcc -flto (RT#113022)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,7 +28,7 @@ # See Porting/pumpkin.pod for more information on metaconfig. # -# Generated on Wed Mar 12 10:48:15 CET 2014 [metaconfig 3.5 PL0] +# Generated on Sun Mar 16 09:41:42 CET 2014 [metaconfig 3.5 PL0] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -7977,13 +7977,13 @@ yes) if $contains $tlook $tf >/dev/null 2>&1; then tval=true; elif $test "$mistrustnm" = compile -o "$mistrustnm" = run; then - echo "$extern_C void *$1$tdc; void *(*(p()))$tdc { return &$1; } int main() { if(p()) return(0); else return(1); }"> try.c; + echo "$extern_C void *$1$tdc; void *(*(p()))$tdc { return &$1; } int main() { if(p() && p() != (void *)main) return(0); else return(1); }"> try.c; $cc -o try $optimize $ccflags $ldflags try.c >/dev/null 2>&1 $libs && tval=true; $test "$mistrustnm" = run -a -x try && { $run ./try$_exe >/dev/null 2>&1 || tval=false; }; $rm_try; fi; else - echo "$extern_C void *$1$tdc; void *(*(p()))$tdc { return &$1; } int main() { if(p()) return(0); else return(1); }"> try.c; + echo "$extern_C void *$1$tdc; void *(*(p()))$tdc { return &$1; } int main() { if(p() && p() != (void *)main) return(0); else return(1); }"> try.c; $cc -o try $optimize $ccflags $ldflags try.c $libs >/dev/null 2>&1 && tval=true; $rm_try; fi; |