Merge pull request #26805 from obsidiansystems/cross-elegant

Make cross compilation elegant
This commit is contained in:
John Ericson
2017-12-30 22:58:02 -05:00
committed by GitHub
88 changed files with 1059 additions and 699 deletions
@@ -72,11 +72,7 @@ if [ -z "$dontUseCmakeConfigure" -a -z "$configurePhase" ]; then
configurePhase=cmakeConfigurePhase
fi
if [ -n "$crossConfig" ]; then
crossEnvHooks+=(addCMakeParams)
else
envHooks+=(addCMakeParams)
fi
addEnvHooks "$targetOffset" addCMakeParams
makeCmakeFindLibs(){
isystem_seen=