summaryrefslogtreecommitdiff
path: root/config/libc/glibc.in
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-09-26 09:08:36 (GMT)
committerChris Packham <judge.packham@gmail.com>2022-01-12 08:02:38 (GMT)
commit557b9d4f8dbf41a587508a16df853d4a7677d04b (patch)
tree28778ee24216480f07b80490c822763599957898 /config/libc/glibc.in
parentade8c04d144a2955e52c777e961a26ffbbf42c25 (diff)
gcc: Build static libgcc in core_pass1
Per https://github.com/crosstool-ng/crosstool-ng/issues/808 build static libgcc in the first pass which lets us skip the second one. Building mingw-w64 requires header files in order to build C++ support so mingw builds core pass 2. This could probably be cleaned up by splitting libc_start_files into a separate libc_header step. But for now having core 2 for mingw-w64 and core 1 for the other libcs will have to do. Anything that previously selected CC_CORE_PASSES_NEEDED now selects CC_CORE_PASS_1_NEEDED. The same goes for CC_CORE_PASS_2_NEEDED with the exception of mingw-w64. Fixes #808 Fixes #217 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config/libc/glibc.in')
-rw-r--r--config/libc/glibc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 659a86b..1280d98 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -3,7 +3,7 @@
## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
## select LIBC_SUPPORT_THREADS_NATIVE
-## select CC_CORE_PASSES_NEEDED
+## select CC_CORE_PASS_1_NEEDED
# TBD: select GETTEXT for build only, not for host
## select GETTEXT_NEEDED
## select BINUTILS_FORCE_LD_BFD_DEFAULT