From 4f23d85e4fc9f58e2d8d37ddd7b41d8ad635c522 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 15 Nov 2011 19:45:48 +0100 Subject: [PATCH] Work around issue with newer bison versions Touch the source files generated by bison, so that make won't try to have them updated. --- build/scripts/build_cross_tools | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/scripts/build_cross_tools b/build/scripts/build_cross_tools index 9f7f9cce44..6f5efa92bf 100755 --- a/build/scripts/build_cross_tools +++ b/build/scripts/build_cross_tools @@ -122,6 +122,10 @@ copy_headers $haikuSourceDir/headers/config $tmpIncludeDir/config copy_headers $haikuSourceDir/headers/os $tmpIncludeDir/os copy_headers $haikuSourceDir/headers/posix $tmpIncludeDir/posix +# Touch some files generated by bison, so that bison won't run to update them. +# Fixes issues with newer bison versions. +(cd $buildToolsDir/gcc/gcc; touch c-parse.c c-parse.h cexp.c) + # configure gcc cd $gccObjDir CFLAGS="-O2 -U_FORTIFY_SOURCE" CXXFLAGS="-O2" $buildToolsDir/gcc/configure \