diff options
author | Alexey Neyman <stilor@att.net> | 2017-08-26 12:40:10 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-08-26 13:01:45 -0700 |
commit | eba1a826862d875e6163315029839fd3de192c8b (patch) | |
tree | 4e83eb972f920108adfa5745259f7878956b8a75 /config/libc | |
parent | bf7641d1b9903764b335a5f765905809717d49a2 (diff) | |
download | crosstool-ng-eba1a826862d875e6163315029839fd3de192c8b.tar.gz crosstool-ng-eba1a826862d875e6163315029839fd3de192c8b.tar.bz2 crosstool-ng-eba1a826862d875e6163315029839fd3de192c8b.zip |
Make --enable-obsolete-rpc an option in ct-ng
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/glibc.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in index f6791301..ee90884c 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -90,6 +90,15 @@ config GLIBC_NO_SPARC_V8 def_bool y depends on GLIBC_2_23_or_later +# 2.14 obsoleted Sun RPC code, making it unavailable *at all* for compiling/linking +# (only remained as versioned symbols for previously linked binaries). They backpedaled +# in 2.16, adding an option to enable that code. Crosstool-NG backports that code +# to 2.14/2.15, but there is no harm in throwing this option even if that patch +# is not applied. +config GLIBC_HAS_OBSOLETE_RPC + def_bool y + depends on GLIBC_2_14_or_later + config GLIBC_EXTRA_CONFIG_ARRAY string prompt "extra config" @@ -123,6 +132,13 @@ config GLIBC_EXTRA_CFLAGS help Extra target CFLAGS to use when building. +config GLIBC_ENABLE_OBSOLETE_RPC + bool "Enable obsolete (Sun) RPC" + default y + depends on GLIBC_HAS_OBSOLETE_RPC + help + Allow building applications using obsolete (Sun) RPC. + config GLIBC_ENABLE_FORTIFIED_BUILD bool prompt "Enable fortified build (EXPERIMENTAL)" |