Skip to content

Commit e3da80a

Browse files
committed
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 <[email protected]>
1 parent 3487f88 commit e3da80a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sys-devel/gcc/gcc-13.3.0.ebuild

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ src_prepare() {
9797

9898
# our ld64 is a slight bit different, so tweak expression to not
9999
# get confused and break the build
100-
sed -i -e 's/grep ld64/grep :ld64/' gcc/configure || die
100+
sed -i -e "s/EGREP 'ld64|dyld'/& | head -n1/" \
101+
gcc/configure{.ac,} || die
101102

102103
# rip out specific macos version min
103104
sed -i -e 's/-mmacosx-version-min=11.0//' \

0 commit comments

Comments
 (0)