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:
Yann E. MORIN" 2010-11-11 00:29:53 +01:00 committed by Bryan Hundven
parent fcfc3a27f8
commit da6b834eef
3 changed files with 15 additions and 0 deletions

View File

@ -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"

View File

@ -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 ,)");;

View File

@ -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 ,)");;