build_cross_tools_gcc4: move sysroot dir into install dir
This allows us to sneak in system include and library search dirs in haikuporter without doing anything outside the cross tools dir.
This commit is contained in:
@@ -109,7 +109,7 @@ objDir=${installDir}-build
|
||||
binutilsObjDir=$objDir/binutils
|
||||
gccObjDir=$objDir/gcc
|
||||
stdcxxObjDir=$objDir/stdcxx
|
||||
sysrootDir=$objDir/sysroot
|
||||
sysrootDir=$installDir/sysroot
|
||||
tmpIncludeDir=$sysrootDir/boot/system/develop/headers
|
||||
tmpLibDir=$sysrootDir/boot/system/develop/lib
|
||||
|
||||
@@ -249,6 +249,9 @@ fi
|
||||
# Only the ones from the source tree should be used.
|
||||
rm -rf $installDir/$haikuMachine/sys-include
|
||||
|
||||
# remove the sysroot dir
|
||||
rm -rf $sysrootDir
|
||||
|
||||
# remove the objects dir
|
||||
rm -rf $objDir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user