mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 16:25:23 +01:00
Merge pull request #544 from fosslinux/gcc-depcomp-v2
Fix depcomp being deleted in GCC: 2nd attempt
This commit is contained in:
commit
54b7cd5ed1
2 changed files with 4 additions and 2 deletions
|
|
@ -101,12 +101,13 @@ 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 \
|
||||||
|
|
|
||||||
|
|
@ -138,12 +138,13 @@ 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" .
|
||||||
# A odd script
|
# A odd script
|
||||||
pushd gcc/m2/gm2-libs
|
pushd gcc/m2/gm2-libs
|
||||||
autoconf-2.69 -f config-host.in > config-host
|
autoconf-2.69 -f config-host.in > config-host
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue