This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix Configure's csym test for gcc's link time optimisation
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 22 Aug 2011 13:41:26 +0000 (15:41 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 22 Aug 2011 13:41:26 +0000 (15:41 +0200)
commite820c6d6a6d0a8828aa68a6895696b659c471f2f
tree84a447b0be2d3c7f862e5082e5d34334c4daf58f
parente18249a59ddbc899823227d1eaead27682016237
Fix Configure's csym test for gcc's link time optimisation

This introduces a volatile into the test program so gcc cannot optimise
out the symbol itself as being unused.
Configure