aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-11-21 20:56:55 +0800
committerJia Tan <jiat0218@gmail.com>2023-11-30 20:04:42 +0800
commitffb456593d695d70052a2f71c7a2e6269217d194 (patch)
treea00443d5cc4f60e32adc601e13095afcde45c50a /autogen.sh
parentxz: Tweak a comment. (diff)
downloadxz-ffb456593d695d70052a2f71c7a2e6269217d194.tar.xz
Build: Change --enable-ifunc handling.
Some compilers support __attribute__((__ifunc__())) even though the dynamic linker does not. The compiler is able to create the binary but it will fail on startup. So it is not enough to just test if the attribute is supported. The default value for enable_ifunc is now auto, which will attempt to compile a program using __attribute__((__ifunc__())). There are additional checks in this program if glibc is being used or if it is running on FreeBSD. Setting --enable-ifunc will skip this test and always enable __attribute__((__ifunc__())), even if is not supported.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions