aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/cc
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-05-08 16:16:08 +1200
committerChris Packham <judge.packham@gmail.com>2022-05-19 14:24:46 +1200
commitdb6f703f52e33a5791c5c2728fa1e3a330a08e98 (patch)
treebea17d0fdf894372a29713d45a684cfceadd770d /scripts/build/cc
parent1b6ad7cd48e0849072e2372826498c01b56b7fc9 (diff)
downloadcrosstool-ng-db6f703f52e33a5791c5c2728fa1e3a330a08e98.tar.gz
crosstool-ng-db6f703f52e33a5791c5c2728fa1e3a330a08e98.tar.bz2
crosstool-ng-db6f703f52e33a5791c5c2728fa1e3a330a08e98.zip
gcc: Add 12.1
Add GCC 12.1 https://gcc.gnu.org/gcc-12/ The following patches from GCC 11.3.0 are no longer needed: - 0005-arc-Update-ZOL-pattern.patch - 0006-arc-Update-u-maddhisi4-patterns.patch - 0007-arc-Fix-maddhisi-patterns.patch - 0008-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch - 0009-libstdc-Check-for-TLS-support-on-mingw-cross-compile.patch One new patch is needed to avoid issues building sh-unknown-elf: - 0006-sh-Avoid-mb-m1-multilib-combination.patch It is also necessary to build all-build-libcpp. This target exists as far back as GCC 6 so has been done unconditionally. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r--scripts/build/cc/gcc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index e32fcd0f..a8fd42b9 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -621,10 +621,10 @@ do_gcc_core_backend() {
CT_DoExecLog CFG make ${CT_JOBSFLAGS} configure-libiberty
CT_DoExecLog ALL make ${CT_JOBSFLAGS} -C libiberty libiberty.a
CT_DoExecLog CFG make ${CT_JOBSFLAGS} configure-gcc configure-libcpp
- CT_DoExecLog ALL make ${CT_JOBSFLAGS} all-libcpp
+ CT_DoExecLog ALL make ${CT_JOBSFLAGS} all-libcpp all-build-libcpp
else
CT_DoExecLog CFG make ${CT_JOBSFLAGS} configure-gcc configure-libcpp configure-build-libiberty
- CT_DoExecLog ALL make ${CT_JOBSFLAGS} all-libcpp all-build-libiberty
+ CT_DoExecLog ALL make ${CT_JOBSFLAGS} all-libcpp all-build-libcpp all-build-libiberty
fi
# HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here.
if [ -d "${CT_SRC_DIR}/gcc/libdecnumber" ]; then