From 35e7076e2f228ca19334e6cda0ee84cf3ff8b6b3 Mon Sep 17 00:00:00 2001 From: Samuel Tyler Date: Mon, 29 Sep 2025 16:34:56 +1000 Subject: [PATCH] Fix depcomp being deleted in GCC On my system, (usually) depcomp is deleted during autoreconf. The reasons for this are very unclear but appear to be timestamp related. This seems to fix it. --- steps/gcc-10.5.0/pass1.sh | 3 +-- steps/gcc-15.2.0/pass1.sh | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/steps/gcc-10.5.0/pass1.sh b/steps/gcc-10.5.0/pass1.sh index 95a20f73..2dba4e4b 100755 --- a/steps/gcc-10.5.0/pass1.sh +++ b/steps/gcc-10.5.0/pass1.sh @@ -101,13 +101,12 @@ 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" . # Makefile.in only BACK="${PWD}" find . -type d \ diff --git a/steps/gcc-15.2.0/pass1.sh b/steps/gcc-15.2.0/pass1.sh index ac7a0962..3bfeaa05 100755 --- a/steps/gcc-15.2.0/pass1.sh +++ b/steps/gcc-15.2.0/pass1.sh @@ -138,6 +138,7 @@ 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