summaryrefslogtreecommitdiff
path: root/lang/node
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2018-01-26 16:05:58 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2018-02-09 15:47:50 +0800
commitffbdc7e4fdd825fdaa371ea6c00c06a0b830f422 (patch)
tree34810bb8e4f644db5b13c1ccf34a6dfed2b7d94d /lang/node
parentbbc391c0da2448e02dcb9eadc3dee1a1688f4997 (diff)
node: depends on availability of fpu
It requires either hardware or software emulated fpu, otherwise program can fail with SIGILL for fp instructions emitted by the JIT compiler See #1937, #2633, #2442, FS#1257 for details From code snippet at deps/v8/src/mips/constants-mips.h #elif(defined(__mips_soft_float) && __mips_soft_float != 0) // This flag is raised when -msoft-float is passed to the compiler. // // Although FPU is a base requirement for v8, soft-float ABI is used // // on soft-float systems with FPU kernel emulation. // const bool IsMipsSoftFloatABI = true; [1] https://bugs.chromium.org/p/v8/issues/detail?id=4704 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'lang/node')
-rw-r--r--lang/node/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/node/Makefile b/lang/node/Makefile
index 929bf41f5..d8a6ebff0 100644
--- a/lang/node/Makefile
+++ b/lang/node/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=node
PKG_VERSION:=v6.11.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=node-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://nodejs.org/dist/${PKG_VERSION}
PKG_HASH:=04af4992238b19124ea56f1bcfda36827613a24eb3b00fc3b50f261a415a26e4
@@ -36,7 +36,7 @@ define Package/node
SUBMENU:=Node.js
TITLE:=Node.js is a platform built on Chrome's JavaScript runtime
URL:=http://nodejs.org/
- DEPENDS:=+libstdcpp +libopenssl +zlib +USE_UCLIBC:libpthread +USE_UCLIBC:librt +NODEJS_ICU:icu
+ DEPENDS:=@(HAS_FPU||KERNEL_MIPS_FPU_EMULATOR) +libstdcpp +libopenssl +zlib +USE_UCLIBC:libpthread +USE_UCLIBC:librt +NODEJS_ICU:icu
endef
define Package/node/description