diff --git a/build-toolchain.bash b/build-toolchain.bash index 06e2f05a89..b60a2ea111 100755 --- a/build-toolchain.bash +++ b/build-toolchain.bash @@ -194,7 +194,13 @@ locateAndCheckInterfacesAndLibraries ##################### Third-Party components: binutils, gcc, hfsutils if [ $SKIP_THIRDPARTY != true ]; then + # (Re)generate autoconf scripts to be compliant with installed host toolchain + TEMP=$(pwd) + cd "$SRC" + find . -name "configure.in" -execdir autoconf \; + cd "$TEMP" + # Create or replace prefix folder if [ "$PREFIX" = "$DEFAULT_PREFIX" ]; then # Remove old install tree rm -rf $PREFIX @@ -298,7 +304,6 @@ if [ $SKIP_THIRDPARTY != true ]; then unset CPPFLAGS unset LDFLAGS - # Build hfsutil mkdir -p $PREFIX/lib mkdir -p $PREFIX/share/man/man1