Skip to content

Commit 25b93fa

Browse files
committed
Make UNAME_P be x86_64 if it's discovered as unknown.
Debian amazon linux machines have broken uname -p.
1 parent 3841ce1 commit 25b93fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ REPO_PATH_MAC = bin/macosx/contrib/$(R_VERSION)
66
TMP_BUILD_DIR = tmp_build
77
ifneq ($(OS),Windows_NT)
88
OS := $(shell uname)
9-
UNAME_P := $(shell uname -p)
9+
UNAME_P := $(shell uname -p | sed 's/unknown/x86_64/')
1010
else
1111
# For windows NT the shell is odd. Cygwin 'shell uname' returns CYGWIN_NT-6.1-WOW64
1212
# which is not really what we want. The normal CMD shell does something else.

0 commit comments

Comments
 (0)