diff options
| author | 2024-01-16 13:04:34 +0100 | |
|---|---|---|
| committer | 2024-01-16 13:05:53 +0100 | |
| commit | 6094c57a7d5e771e3b2f51955c4ca801ca9de614 (patch) | |
| tree | b2e893af1194a4f59ffdf7c2c5f7d1f3e49f66a8 | |
| parent | app-misc/qlcplus: drop 5.0.0_beta2 (diff) | |
| download | gentoo-6094c57a7d5e771e3b2f51955c4ca801ca9de614.tar.gz gentoo-6094c57a7d5e771e3b2f51955c4ca801ca9de614.tar.bz2 gentoo-6094c57a7d5e771e3b2f51955c4ca801ca9de614.zip | |
sys-devel/binutils-apple-8.2.1-r103: fix build with GCC-13
do not attempt to force libc++ usage, it doesn't always work
Closes: https://bugs.gentoo.org/922183
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
| -rw-r--r-- | sys-devel/binutils-apple/binutils-apple-8.2.1-r103.ebuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-devel/binutils-apple/binutils-apple-8.2.1-r103.ebuild b/sys-devel/binutils-apple/binutils-apple-8.2.1-r103.ebuild index d892d1c763d9..46b656a4b514 100644 --- a/sys-devel/binutils-apple/binutils-apple-8.2.1-r103.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-8.2.1-r103.ebuild @@ -25,6 +25,16 @@ BDEPEND="" S="${WORKDIR}/darwin-xtools-gentoo-${PVR}" +src_prepare() { + cmake_src_prepare + # kill forced libstd=libc++ usage, breaks with GCC-13 which has + # preliminary support for that + # check_cxx_compiler_flag(-stdlib=libc++ # XTOOLS_CXX_HAS_STDLIB_FLAG) + # + sed -i -e '/check_cxx_compiler_flag/s/XTOOLS_CXX_HAS_STDLIB_FLAG/NO_&/' \ + cmake/config-ix.cmake || die +} + src_configure() { CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then |
