No idea how this is supposed to work, because git's buildscripts execute 'uname -S' to determine which functions are available - and that's not how cross-compilation works.