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:
@@ -122,6 +122,10 @@ copy_headers $haikuSourceDir/headers/config $tmpIncludeDir/config
|
|||||||
copy_headers $haikuSourceDir/headers/os $tmpIncludeDir/os
|
copy_headers $haikuSourceDir/headers/os $tmpIncludeDir/os
|
||||||
copy_headers $haikuSourceDir/headers/posix $tmpIncludeDir/posix
|
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
|
# configure gcc
|
||||||
cd $gccObjDir
|
cd $gccObjDir
|
||||||
CFLAGS="-O2 -U_FORTIFY_SOURCE" CXXFLAGS="-O2" $buildToolsDir/gcc/configure \
|
CFLAGS="-O2 -U_FORTIFY_SOURCE" CXXFLAGS="-O2" $buildToolsDir/gcc/configure \
|
||||||
|
|||||||
Reference in New Issue
Block a user