Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 803371
Collapse All | Expand All

(-)a/sys-devel/gcc/files/gcc-fix-stdinc.patch (+26 lines)
Line 0 Link Here
1
diff --git a/configure b/configure
2
index 6157a8c87fb..2a4a05b4edf 100755
3
--- a/configure
4
+++ b/configure
5
@@ -16653,7 +16653,7 @@ else
6
 fi
7
8
9
-RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
10
+RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET -nostdinc++"
11
12
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
13
 $as_echo_n "checking where to find the target ar... " >&6; }
14
diff --git a/configure.ac b/configure.ac
15
index 2ff48941754..01ecc8c42d9 100644
16
--- a/configure.ac
17
+++ b/configure.ac
18
@@ -3515,7 +3515,7 @@ ACX_CHECK_INSTALLED_TARGET_TOOL(STRIP_FOR_TARGET, strip)
19
 ACX_CHECK_INSTALLED_TARGET_TOOL(WINDRES_FOR_TARGET, windres)
20
 ACX_CHECK_INSTALLED_TARGET_TOOL(WINDMC_FOR_TARGET, windmc)
21
22
-RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
23
+RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET -nostdinc++"
24
25
 GCC_TARGET_TOOL(ar, AR_FOR_TARGET, AR, [binutils/ar])
26
 GCC_TARGET_TOOL(as, AS_FOR_TARGET, AS, [gas/as-new])
(-)a/sys-devel/gcc/gcc-11.2.0-r1.ebuild (-1 / +18 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI="7"
5
6
PATCH_VER="1"
7
8
inherit toolchain
9
10
src_prepare() {
11
	toolchain_src_prepare
12
	eapply "${FILESDIR}/${PN}-fix-stdinc.patch"
13
}
14
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
16
17
RDEPEND=""
18
BDEPEND="${CATEGORY}/binutils"

Return to bug 803371