diff options
author | Fabian Groffen <grobian@gentoo.org> | 2024-08-20 20:53:28 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2024-08-20 20:53:28 +0200 |
commit | 085211fe4673f6b04893ea82c2d75b82ce37e39c (patch) | |
tree | 92662161b0fc7893635f2b54141a0679c3d97a16 | |
parent | scripts/bootstrap-prefix: ensure etc/portage/profile exists before writing (diff) | |
download | prefix-085211fe4673f6b04893ea82c2d75b82ce37e39c.tar.gz prefix-085211fe4673f6b04893ea82c2d75b82ce37e39c.tar.bz2 prefix-085211fe4673f6b04893ea82c2d75b82ce37e39c.zip |
scripts/bootstrap-prefix: drop bits that assume we don't have a C++ compiler
The situation where we bootstrap with a non-C++ compiler is long gone.
Closes: https://bugs.gentoo.org/803551
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index facb97eb75..b4e8f75841 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -474,10 +474,6 @@ bootstrap_profile() { # Disable bootstrapping libcxx* with libunwind sys-libs/libcxxabi -libunwind sys-libs/libcxx -libunwind - # Most binary Linux distributions seem to fancy toolchains that - # do not do c++ support (need to install a separate package). - sys-libs/ncurses -cxx - sys-devel/binutils -cxx EOF # On Darwin we might need this to bootstrap the compiler, since @@ -487,19 +483,6 @@ bootstrap_profile() { # For Darwin bootstraps sys-devel/native-cctools EOF - - # Strange enough, -cxx causes wrong libtool config on Cygwin, - # but we require a C++ compiler there anyway - so just use it. - cat >> "${ROOT}"/etc/portage/make.profile/package.use <<-EOF - # gmp has cxx flag enabled by default. When dealing with a host - # compiler without cxx support this causes configure failure. - # In addition, The stage2 g++ is only for compiling stage3 compiler, - # because the host libstdc++.so runtime may be not compatible and - # stage2 libstdc++.so might conflict with that of stage3. The - # trade-off is just not to use cxx. - dev-libs/gmp -cxx - sys-devel/binutils -gold - EOF } do_tree() { |