gcc: fix automake dependency for debian bullseye

This commit is contained in:
Giacomo Tesio 2022-01-06 00:47:40 +00:00
parent d67c3ee393
commit 25a0786488
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,8 @@ mkdir -p $BINUTILS_BUILD_DIR
dynpatch 'binutils/ld/Makefile.am' 'eelf_x86_64.c: ' &&
(grep 'eelf_i386_jehanne.c \\' src/binutils/ld/Makefile.am || sed -i 's/.*ALL_EMULATION_SOURCES = \\.*/&\n\teelf_i386_jehanne.c \\/' src/binutils/ld/Makefile.am) &&
(grep 'eelf_x86_64_jehanne.c \\' src/binutils/ld/Makefile.am || sed -i 's/.*ALL_64_EMULATION_SOURCES = \\.*/&\n\teelf_x86_64_jehanne.c \\/' src/binutils/ld/Makefile.am) &&
cd src/binutils/ld && automake-1.15 && cd ../
cd src/binutils/ && aclocal && \
cd ld && aclocal && automake && cd ../
) ) &&
cd $BINUTILS_BUILD_DIR &&
$WORKING_DIR/src/binutils/configure --target=x86_64-jehanne --prefix=/posix --with-sysroot=$JEHANNE --target=x86_64-jehanne --enable-interwork --enable-multilib --enable-newlib-long-time_t --disable-nls --disable-werror &&