diff options
author | Fabian Groffen <grobian@gentoo.org> | 2024-05-27 03:24:32 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2024-05-27 03:24:32 +0200 |
commit | e3da80a66251be27fac1adb02b1aec991827fb4d (patch) | |
tree | 778120bbcf6e252309b316d935996e29da6119bf | |
parent | sys-devel/gcc-13.3.0: version bump (diff) | |
download | prefix-e3da80a66251be27fac1adb02b1aec991827fb4d.tar.gz prefix-e3da80a66251be27fac1adb02b1aec991827fb4d.tar.bz2 prefix-e3da80a66251be27fac1adb02b1aec991827fb4d.zip |
sys-devel/gcc-13.3.0: fix ld64/xtools detection fix
update for updated checks, fixes compiling on {x64,ppc}-macos
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | sys-devel/gcc/gcc-13.3.0.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/gcc/gcc-13.3.0.ebuild b/sys-devel/gcc/gcc-13.3.0.ebuild index 5004a9daf0..eb8200a374 100644 --- a/sys-devel/gcc/gcc-13.3.0.ebuild +++ b/sys-devel/gcc/gcc-13.3.0.ebuild @@ -97,7 +97,8 @@ src_prepare() { # our ld64 is a slight bit different, so tweak expression to not # get confused and break the build - sed -i -e 's/grep ld64/grep :ld64/' gcc/configure || die + sed -i -e "s/EGREP 'ld64|dyld'/& | head -n1/" \ + gcc/configure{.ac,} || die # rip out specific macos version min sed -i -e 's/-mmacosx-version-min=11.0//' \ |