diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2019-09-21 17:39:30 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2019-10-03 02:06:35 +0000 |
commit | f5fa96f9c34d5cd9fc2dd0bbdf955b9fffb85a3d (patch) | |
tree | 39d9c511e4baaa2465089f7ebd3ab6c8cbcde66c /util/crossgcc/buildgcc | |
parent | f47c32a12d778c6e4f8cd93cfe1f83d2ca2bb9be (diff) | |
download | coreboot-f5fa96f9c34d5cd9fc2dd0bbdf955b9fffb85a3d.tar.xz |
buildgcc: Run aclocal before configure
Ubuntu 19.04 will fail looking for aclocal-1.15 if the scripts
are not regenerated because 19.04 ships with 1.16.
There are not enough eyes to roll when working with GNU autotools.
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I4aa9f520499930ffc984ab0b0144c9c6b2e544a0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35522
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/crossgcc/buildgcc')
-rwxr-xr-x | util/crossgcc/buildgcc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 9c10c7d56e..6c378ac7fd 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -893,9 +893,11 @@ build_LLVM() { } build_MAKE() { + ( cd ../${MAKE_DIR}/ && aclocal && autoconf ) CC="$(hostcc host)" CXX="$(hostcxx host)" CFLAGS="$HOSTCFLAGS" \ ../${MAKE_DIR}/configure --prefix="$TARGETDIR" --disable-nls \ || touch .failed + $MAKE -k clean # shellcheck disable=SC2086 $MAKE $JOBS || touch .failed $MAKE install DESTDIR=$DESTDIR || touch .failed |