build fix for node on !LP64; from Volker Schlecht (maintainer) "builds
and works for me on my freshly dedicated i386 build machine and on amd64"
This commit is contained in:
parent
727a2f717e
commit
4c6ff4e6ce
@ -10,6 +10,7 @@ PLEDGE_VER = 1.1.3
|
|||||||
DISTFILES = node-pledge-{}${PLEDGE_VER}.tar.gz:0 \
|
DISTFILES = node-pledge-{}${PLEDGE_VER}.tar.gz:0 \
|
||||||
${DISTNAME}-headers.tar.gz \
|
${DISTNAME}-headers.tar.gz \
|
||||||
${DISTNAME}.tar.xz
|
${DISTNAME}.tar.xz
|
||||||
|
REVISION = 0
|
||||||
|
|
||||||
DISTNAME = node-${NODE_VERSION}
|
DISTNAME = node-${NODE_VERSION}
|
||||||
PKGNAME = ${DISTNAME:S/v//g}
|
PKGNAME = ${DISTNAME:S/v//g}
|
||||||
|
@ -14,3 +14,21 @@ Index: deps/v8/src/base/atomicops.h
|
|||||||
using Atomic64 = int64_t;
|
using Atomic64 = int64_t;
|
||||||
#else
|
#else
|
||||||
using Atomic64 = intptr_t;
|
using Atomic64 = intptr_t;
|
||||||
|
@@ -257,7 +257,7 @@ inline Atomic32 SeqCst_Load(volatile const Atomic32* p
|
||||||
|
std::memory_order_seq_cst);
|
||||||
|
}
|
||||||
|
|
||||||
|
-#if defined(V8_HOST_ARCH_64_BIT)
|
||||||
|
+#if defined(V8_HOST_ARCH_64_BIT) || defined(V8_OS_OPENBSD)
|
||||||
|
|
||||||
|
inline Atomic64 Relaxed_CompareAndSwap(volatile Atomic64* ptr,
|
||||||
|
Atomic64 old_value, Atomic64 new_value) {
|
||||||
|
@@ -468,7 +468,7 @@ inline int Relaxed_Memcmp(volatile const Atomic8* s1,
|
||||||
|
|
||||||
|
// On some platforms we need additional declarations to make
|
||||||
|
// AtomicWord compatible with our other Atomic* types.
|
||||||
|
-#if defined(V8_OS_DARWIN) || defined(V8_OS_OPENBSD) || defined(V8_OS_AIX)
|
||||||
|
+#if defined(V8_OS_DARWIN) || defined(V8_OS_AIX)
|
||||||
|
#include "src/base/atomicops_internals_atomicword_compat.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user