From 2cf7d49495aa2168ae3a99be295f1607873629b5 Mon Sep 17 00:00:00 2001 From: waddlesplash Date: Mon, 27 Aug 2018 19:06:22 -0400 Subject: [PATCH] build_cross_tools: Touch configure scripts so the Makefiles don't regenerate them. --- build/scripts/build_cross_tools_gcc4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 163bb7ed50..97e834ed81 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -141,6 +141,11 @@ fi # to the VCS). find "$binutilsSourceDir" "$gccSourceDir" -name \*.info -print0 | xargs -0 touch +# touch all configure files in order to avoid them being auto-rebuilt, +# as this often fails because the host system does not have the exact +# version of autofools that GCC wants +find "$binutilsSourceDir" "$gccSourceDir" -name configure -print0 | xargs -0 touch + # create the object and installation directories for the cross compilation tools objDir="${installDir}-build" binutilsObjDir="$objDir/binutils"