summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/global/extract.in18
-rw-r--r--config/libc/bionic.in2
-rw-r--r--config/libc/glibc.in29
-rw-r--r--config/libc/mingw-w64.in4
4 files changed, 46 insertions, 7 deletions
diff --git a/config/global/extract.in b/config/global/extract.in
index 582e69c..58f7b95 100644
--- a/config/global/extract.in
+++ b/config/global/extract.in
@@ -52,30 +52,36 @@ config PATCH_BUNDLED
config PATCH_LOCAL
bool
- prompt "Local only"
+ prompt "Local only (EXPERIMENTAL)"
select PATCH_USE_LOCAL
+ depends on EXPERIMENTAL
help
- Only apply your local patches.
+ Only apply your local patches. Many components require patching
+ to build or work properly; please review the bundled patches and
+ copy them into your local directory if needed.
config PATCH_BUNDLED_LOCAL
bool
prompt "Bundled, then local"
select PATCH_USE_LOCAL
help
- Apply the patches bundled with crosstool-NG,
- then apply your local patches.
+ Apply the patches bundled with crosstool-NG, then apply your local
+ patches.
config PATCH_LOCAL_BUNDLED
bool
prompt "Local, then bundled"
select PATCH_USE_LOCAL
+ depends on EXPERIMENTAL
help
- Apply your local patches, then apply the patches
- bundled with crosstool-NG.
+ Apply your local patches, then apply the patches bundled with
+ crosstool-NG. Note that the bundled patches cannot be guaranteed
+ to apply on top of your local patches.
config PATCH_NONE
bool
prompt "None"
+ depends on EXPERIMENTAL
help
Don't use any patch at all.
diff --git a/config/libc/bionic.in b/config/libc/bionic.in
index eafc482..41b87a1 100644
--- a/config/libc/bionic.in
+++ b/config/libc/bionic.in
@@ -3,7 +3,7 @@
## depends on ! WINDOWS && ! BARE_METAL
## depends on ARCH_ARM || ARCH_MIPS || ARCH_X86
## depends on EXPERIMENTAL
-## depends on GCC_6_or_later
+## select GCC_REQUIRE_6_or_later
##
## select LIBC_SUPPORT_THREADS_POSIX
##
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 363ab34..c600326 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -21,6 +21,19 @@ if GLIBC_USE_PORTS_EXTERNAL
source "config/versions/glibc-ports.in"
endif
+# Glibc has some dependencies on the kernel headers:
+config GLIBC_DEP_KERNEL_HEADERS_VERSION
+ def_bool y
+ select LINUX_REQUIRE_3_2_or_later if GLIBC_2_24_or_later
+
+config GLIBC_DEP_BINUTILS
+ def_bool y
+ select BINUTILS_REQUIRE_2_25_or_later if GLIBC_2_26_or_later
+
+config GLIBC_DEP_GCC
+ def_bool y
+ select GCC_REQUIRE_4_9_or_later if GLIBC_2_26_or_later
+
config THREADS
default "nptl"
@@ -85,6 +98,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"
@@ -118,6 +140,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)"
diff --git a/config/libc/mingw-w64.in b/config/libc/mingw-w64.in
index 769c976..34f8dbc 100644
--- a/config/libc/mingw-w64.in
+++ b/config/libc/mingw-w64.in
@@ -10,6 +10,10 @@
source "config/versions/mingw-w64.in"
+config MINGW_W64_REQUIRES_W64_VENDOR
+ bool
+ default y if MINGW_W64_V4_or_later
+
config THREADS
default "win32" if THREADS_NATIVE
default "posix" if THREADS_POSIX