diff options
author | 2023-04-27 12:26:20 +0200 | |
---|---|---|
committer | 2023-04-27 12:26:20 +0200 | |
commit | dce4c2d2b08d1d4e1dc6198ce123cd913a53395f (patch) | |
tree | b658ca1408d6282a446e874711a6f3efcf73f244 /sys-devel | |
parent | sys-devel/gcc-12.2.0-r1: drop no_pie patch for all of Darwin (diff) | |
download | prefix-dce4c2d2b08d1d4e1dc6198ce123cd913a53395f.tar.gz prefix-dce4c2d2b08d1d4e1dc6198ce123cd913a53395f.tar.bz2 prefix-dce4c2d2b08d1d4e1dc6198ce123cd913a53395f.zip |
sys-devel/gcc-12.1.0: drop no-pie compile-fix for Darwin
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/gcc-12.1.0.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-devel/gcc/gcc-12.1.0.ebuild b/sys-devel/gcc/gcc-12.1.0.ebuild index 9b85f3d9aa..d8cf7dbed5 100644 --- a/sys-devel/gcc/gcc-12.1.0.ebuild +++ b/sys-devel/gcc/gcc-12.1.0.ebuild @@ -41,6 +41,12 @@ src_unpack() { } src_prepare() { + if [[ ${CHOST} == *-darwin* ]] ; then + # https://bugs.gentoo.org/898610#c17 + # kill no_pie patch, it breaks things here + rm "${WORKDIR}"/patch/09_all_nopie-all-flags.patch || die + fi + toolchain_src_prepare eapply_user |