Skip to content

Commit 35e7076

Browse files
committed
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.
1 parent 1e91ce5 commit 35e7076

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

steps/gcc-10.5.0/pass1.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,12 @@ src_prepare() {
101101

102102
# Regenerate autotools
103103
# configure
104+
touch depcomp
104105
find . -name configure | sed 's:/configure::' | while read d; do
105106
pushd "${d}"
106107
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fiv
107108
popd
108109
done
109-
# Because GCC is stupid, copy depcomp back in
110-
cp "${PREFIX}/share/automake-1.15/depcomp" .
111110
# Makefile.in only
112111
BACK="${PWD}"
113112
find . -type d \

steps/gcc-15.2.0/pass1.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ src_prepare() {
138138

139139
# Regenerate autotools
140140
# configure
141+
touch depcomp
141142
find . -name configure | sed 's:/configure::' | while read d; do
142143
pushd "${d}"
143144
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fiv

0 commit comments

Comments
 (0)