diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 775be3a128..5d8f5434ef 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -140,7 +140,7 @@ $MAKE install || { # remove the system headers from the installation dir # Only the ones from the source tree should be used. sysIncludeDir=$installDir/$haikuMachine/sys-include -rm -rf $sysIncludeDir/be $sysIncludeDir/posix +rm -rf $sysIncludeDir/os $sysIncludeDir/posix # remove the objects dir rm -rf $objDir