From a61a0a63c16c2abf231a4a1985860e14b8184b28 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Sat, 12 Mar 2022 11:19:18 +0100 Subject: [PATCH] Toolchain: Force makeinfo to be a no-op Neither are we changing any of our documentation files, nor do we need any of the documentation that is likely being built. With macOS potentially removing makeinfo from the default Xcode lineup, SerenityOS not being able to install it at all currently due to a lack of perl, and it otherwise just being a dependency that has to be installed to make the build system happy, lets just stub it out. --- Toolchain/BuildIt.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index 4c9be2884f..1ca6bbc747 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -355,6 +355,11 @@ pushd "$DIR/Build/$ARCH" pushd binutils echo "XXX configure binutils" + + # We don't need the documentation that is being built, so + # don't force people to install makeinfo just for that. + export ac_cv_prog_MAKEINFO=true + buildstep "binutils/configure" "$DIR"/Tarballs/$BINUTILS_NAME/configure --prefix="$PREFIX" \ --target="$TARGET" \ --with-sysroot="$SYSROOT" \