configure: make sure LTO does not optimize out the test functions
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 25 Oct 2016 17:09:46 +0000 (19:09 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 28 Oct 2016 21:58:01 +0000 (23:58 +0200)
commit890eb3d7c477b9fd2c6b1fa0785aca1d02a12e29
tree14b46b25a92959bdcae0ae8a220dc973486f6be2
parent97792e85c338d129342f5812e2a52048373e57d6
configure: make sure LTO does not optimize out the test functions

Fixes trac ticket #5909

Bud-Id: https://bugs.gentoo.org/show_bug.cgi?id=598054
Acked-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
configure