Support arm64 builds
This commit is contained in:
parent
2e09c60108
commit
3b3a13513d
1 changed files with 62 additions and 39 deletions
|
|
@ -67,7 +67,7 @@ compile_r() {
|
|||
|
||||
# tools/config.guess in R versions older than 3.2.2 guess 'unknown' instead of 'pc'
|
||||
# test the version and properly set the flag.
|
||||
build_flag='--build=x86_64-pc-linux-gnu'
|
||||
build_flag="--build=$(uname -p)-pc-linux-gnu"
|
||||
if _version_is_greater_than ${R_VERSION} 3.2.2; then
|
||||
build_flag=''
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue