mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 10:46:26 +00:00
libc/*glibc: enable selection of the oldest supported ABI
[Yann E. MORIN: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
da6b834eef
commit
de81a59714
@ -65,6 +65,18 @@ config LIBC_DISABLE_VERSIONING
|
||||
help
|
||||
Do not include versioning information in the library objects.
|
||||
|
||||
config LIBC_OLDEST_ABI
|
||||
string
|
||||
prompt "Oldest supported ABI"
|
||||
default ""
|
||||
help
|
||||
Set the oldest ABI supported by the C library.
|
||||
|
||||
Setting this option, for example, to 2.2 will provide ABI support
|
||||
back to (e)glibc-2.2.
|
||||
|
||||
If this option is not set, (e)glibc will choose for you.
|
||||
|
||||
config LIBC_GLIBC_USE_PORTS
|
||||
bool
|
||||
prompt "Use the ports addon"
|
||||
|
@ -296,6 +296,10 @@ do_libc() {
|
||||
extra_config+=("--disable-versioning")
|
||||
fi
|
||||
|
||||
if [ "${CT_LIBC_OLDEST_ABI}" != "" ]; then
|
||||
extra_config+=("--enable-oldest-abi=${CT_LIBC_OLDEST_ABI}")
|
||||
fi
|
||||
|
||||
case "$(do_libc_add_ons_list ,)" in
|
||||
"") ;;
|
||||
*) extra_config+=("--enable-add-ons=$(do_libc_add_ons_list ,)");;
|
||||
|
@ -373,6 +373,10 @@ do_libc() {
|
||||
extra_config+=("--disable-versioning")
|
||||
fi
|
||||
|
||||
if [ "${CT_LIBC_OLDEST_ABI}" != "" ]; then
|
||||
extra_config+=("--enable-oldest-abi=${CT_LIBC_OLDEST_ABI}")
|
||||
fi
|
||||
|
||||
case "$(do_libc_add_ons_list ,)" in
|
||||
"") ;;
|
||||
*) extra_config+=("--enable-add-ons=$(do_libc_add_ons_list ,)");;
|
||||
|
Loading…
Reference in New Issue
Block a user