From: H.Merijn Brand Date: Fri, 26 Aug 2011 10:14:53 +0000 (+0200) Subject: Revert "Fix Configure's csym test for gcc's link time optimisation" X-Git-Tag: accepted/trunk/20130322.191538~3010 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9945eb561de0af3e6788a8728081199cb024cb83;p=platform%2Fupstream%2Fperl.git Revert "Fix Configure's csym test for gcc's link time optimisation" There are too many related problems arising from this change This reverts commit e820c6d6a6d0a8828aa68a6895696b659c471f2f. --- diff --git a/Configure b/Configure index d4c95a7..74450a9 100755 --- a/Configure +++ b/Configure @@ -28,7 +28,7 @@ # See Porting/pumpkin.pod for more information on metaconfig. # -# Generated on Mon Aug 22 15:14:53 CEST 2011 [metaconfig 3.5 PL0] +# Generated on Sun Jul 31 12:11:29 CEST 2011 [metaconfig 3.5 PL0] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ </dev/null 2>&1; then tval=true; elif $test "$mistrustnm" = compile -o "$mistrustnm" = run; then - echo "volatile int dummy = 0; $extern_C void *$1$tdc; void *(*(p()))$tdc { return dummy + &$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()) 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 "volatile int dummy = 0; $extern_C void *$1$tdc; void *(*(p()))$tdc { return dummy + &$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()) 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;