Work around issue with newer bison versions

Touch the source files generated by bison, so that make won't try to
have them updated.
This commit is contained in:
Ingo Weinhold
2011-11-15 19:49:25 +01:00
parent ffa7ec82bc
commit 4f23d85e4f
+4
View File
@@ -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 \