From 024f78deebe16ae5ed6ffb082645ec34bd9c98f3 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 9 Apr 2013 21:47:34 +0200 Subject: [PATCH] GCC4 cross tools: disable "maintainer mode" on PPL configure. * PPL: make could run autoconf in certain conditions, thus generating artefacts in the source tree. Added --disable-maintainer-mode when launching configure to avoid this situation. * cleanup: there are no info files in CLooG and PPL. --- build/scripts/build_cross_tools_gcc4 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 85636ffb02..21eb6b5404 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -115,8 +115,7 @@ mkdir -p $installDir/lib/gcc/$haikuMachine/$gccVersion if [ "$HAIKU_USE_GCC_GRAPHITE" = 1 ]; then cloogSourceDir=$buildToolsDir/cloog pplSourceDir=$buildToolsDir/ppl - find $cloogSourceDir $pplSourceDir -name \*.info -print0 | xargs -0 touch - + pplObjDir=$objDir/ppl cloogObjDir=$objDir/cloog mkdir -p $pplObjDir $cloogObjDir || exit 1 @@ -144,7 +143,7 @@ if [ "$HAIKU_USE_GCC_GRAPHITE" = 1 ]; then cd $pplObjDir CFLAGS="-O2" CXXFLAGS="-O2" $pplSourceDir/configure --prefix=$installDir \ --disable-nls --disable-shared --disable-watchdog \ - || exit 1 + --disable-maintainer-mode || exit 1 $MAKE $additionalMakeArgs || exit 1 $MAKE $additionalMakeArgs install || exit 1