浏览代码

build: if uname says x86_64 but getconf LONG_BIT returns 32, we’re on i386.

legacy
Sam Hocevar sam 11 年前
父节点
当前提交
7cae8968cb
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      build/run-bitten.sh

+ 4
- 1
build/run-bitten.sh 查看文件

@@ -98,7 +98,10 @@ esac
append "name = $name"
processor="`uname -m`"
case "$processor" in
x86_64) processor="amd64" ;;
x86_64) processor="amd64"
if test "`getconf LONG_BIT 2>/dev/null`" = 32; then
processor="i386"
fi ;;
i*86) processor="i386" ;;
esac
# Windows defines a lot of crazy shit, try to make sense of it


正在加载...
取消
保存