summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2014-03-16 09:59:44 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2014-03-16 09:59:44 +0100
commita62f0e8c1ab1c91dd26962450e92eba14dfa6e52 (patch)
tree14d7b33295455b21082d975dd806bcd76d59adab /Configure
parente9251c1a8f4944e6dceff5240d9e109ba075ff29 (diff)
downloadperl-a62f0e8c1ab1c91dd26962450e92eba14dfa6e52.tar.gz
Configure misdetects strlcpy et al. with gcc -flto (RT#113022)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/Configure b/Configure
index 8a56092b14..15b3da1769 100755
--- a/Configure
+++ b/Configure
@@ -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;