mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
libc/*glibc: add option to disable symbols versioning
[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
fcfc3a27f8
commit
da6b834eef
@ -58,6 +58,13 @@ config LIBC_EXTRA_CC_ARGS
|
||||
Seldom used, except for sparc64 which seems to need the flag -64
|
||||
to be passed onto gcc.
|
||||
|
||||
config LIBC_DISABLE_VERSIONING
|
||||
bool
|
||||
prompt "Disable symbols versioning"
|
||||
default n
|
||||
help
|
||||
Do not include versioning information in the library objects.
|
||||
|
||||
config LIBC_GLIBC_USE_PORTS
|
||||
bool
|
||||
prompt "Use the ports addon"
|
||||
|
@ -292,6 +292,10 @@ do_libc() {
|
||||
,y) extra_config+=("--without-fp");;
|
||||
esac
|
||||
|
||||
if [ "${CT_LIBC_DISABLE_VERSIONING}" = "y" ]; then
|
||||
extra_config+=("--disable-versioning")
|
||||
fi
|
||||
|
||||
case "$(do_libc_add_ons_list ,)" in
|
||||
"") ;;
|
||||
*) extra_config+=("--enable-add-ons=$(do_libc_add_ons_list ,)");;
|
||||
|
@ -369,6 +369,10 @@ do_libc() {
|
||||
,y) extra_config+=("--without-fp");;
|
||||
esac
|
||||
|
||||
if [ "${CT_LIBC_DISABLE_VERSIONING}" = "y" ]; then
|
||||
extra_config+=("--disable-versioning")
|
||||
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