Merge pull request #544 from fosslinux/gcc-depcomp-v2

Fix depcomp being deleted in GCC: 2nd attempt
This commit is contained in:
Andrius Štikonas 2025-10-04 14:55:47 +01:00 committed by GitHub
commit 54b7cd5ed1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -138,12 +138,13 @@ src_prepare() {
# Regenerate autotools
# configure
touch depcomp
find . -name configure | sed 's:/configure::' | while read d; do
pushd "${d}"
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fiv
popd
done
# Because GCC is stupid, copy depcomp back in
cp "${PREFIX}/share/automake-1.15/depcomp" .
# A odd script
pushd gcc/m2/gm2-libs
autoconf-2.69 -f config-host.in > config-host