diff --git a/Makefile b/Makefile index c24acf3f7d0..f83f5a540c0 100644 --- a/Makefile +++ b/Makefile @@ -912,9 +912,6 @@ else ifeq ($(findstring s390x,$(UNAME_M)),s390x) DESTCPU ?= s390x else -ifeq ($(findstring s390,$(UNAME_M)),s390) -DESTCPU ?= s390 -else ifeq ($(findstring OS/390,$(shell uname -s)),OS/390) DESTCPU ?= s390x else @@ -944,7 +941,6 @@ endif endif endif endif -endif ifeq ($(DESTCPU),x64) ARCH=x64 else @@ -957,9 +953,6 @@ else ifeq ($(DESTCPU),ppc64) ARCH=ppc64 else -ifeq ($(DESTCPU),s390) -ARCH=s390 -else ifeq ($(DESTCPU),s390x) ARCH=s390x else @@ -973,7 +966,6 @@ endif endif endif endif -endif # node and v8 use different arch names (e.g. node 'x86' vs v8 'ia32'). # pass the proper v8 arch name to $V8_ARCH based on user-specified $DESTCPU. diff --git a/doc/api/os.md b/doc/api/os.md index 861b99b6679..625d395e056 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -55,8 +55,7 @@ added: v0.5.0 Returns the operating system CPU architecture for which the Node.js binary was compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, -`'mips'`, `'mipsel'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, -and `'x64'`. +`'mips'`, `'mipsel'`, `'ppc64'`, `'riscv64'`, `'s390x'`, and `'x64'`. The return value is equivalent to [`process.arch`][]. @@ -257,7 +256,7 @@ added: * Returns: {string} Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`, -`mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`. +`mips`, `mips64`, `ppc64`, `ppc64le`, `s390x`, `i386`, `i686`, `x86_64`. On POSIX systems, the machine type is determined by calling [`uname(3)`][]. On Windows, `RtlGetVersion()` is used, and if it is not diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index df7f37a8013..75cc19d7f0b 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -773,12 +773,12 @@ }], ['v8_target_arch=="s390x"', { 'sources': [ - '