Merge pull request #543 from fosslinux/gcc-depcomp

Fix depcomp being deleted in GCC
This commit is contained in:
Andrius Štikonas 2025-09-29 21:42:22 +01:00 committed by GitHub
commit 1452a8fd65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -101,13 +101,12 @@ src_prepare() {
# Regenerate autotools # Regenerate autotools
# configure # configure
touch depcomp
find . -name configure | sed 's:/configure::' | while read d; do find . -name configure | sed 's:/configure::' | while read d; do
pushd "${d}" pushd "${d}"
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fiv AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fiv
popd popd
done done
# Because GCC is stupid, copy depcomp back in
cp "${PREFIX}/share/automake-1.15/depcomp" .
# Makefile.in only # Makefile.in only
BACK="${PWD}" BACK="${PWD}"
find . -type d \ find . -type d \

View file

@ -138,6 +138,7 @@ src_prepare() {
# Regenerate autotools # Regenerate autotools
# configure # configure
touch depcomp
find . -name configure | sed 's:/configure::' | while read d; do find . -name configure | sed 's:/configure::' | while read d; do
pushd "${d}" pushd "${d}"
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fiv AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fiv