提交 eacd70a7 编写于 作者: H Hyeongseok Oh

set __Crossbuild in src/Native/build-native.sh automatically


Commit migrated from https://github.com/dotnet/corefx/commit/868e4b99049f85acbdf572c02c8426734b001478
上级 bfc3ca02
......@@ -192,17 +192,23 @@ fi
case $CPUName in
i686)
if [ $__BuildArch != "x64" ]; then
if [ $__BuildArch != x86 ]; then
echo "Cross!"
__CrossBuild=1
fi
;;
i86_64)
if [ $__BuildArch != "x86" ] ;then
x86_64)
if [ $__BuildArch != x64 ]; then
echo "Cross!"
__CrossBuild=1
fi
echo "this"
;;
esac
#__CrossBuild=1
#__BuildArch="arm"
# Set the remaining variables based upon the determined build configuration
__IntermediatesDir="$__rootbinpath/obj/$__BuildOS.$__BuildArch.$__BuildType/Native"
__BinDir="$__rootbinpath/$__BuildOS.$__BuildArch.$__BuildType/Native"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册