diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-11-21 20:56:55 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-11-30 20:04:42 +0800 |
commit | ffb456593d695d70052a2f71c7a2e6269217d194 (patch) | |
tree | a00443d5cc4f60e32adc601e13095afcde45c50a /lib/Makefile.am | |
parent | xz: Tweak a comment. (diff) | |
download | xz-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 'lib/Makefile.am')
0 files changed, 0 insertions, 0 deletions