node-homebridge: fix i386 build fail
more stability for parallel build Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
This commit is contained in:
parent
80d84ce8b8
commit
9cdb0cc887
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NPM_NAME:=homebridge
|
PKG_NPM_NAME:=homebridge
|
||||||
PKG_NAME:=node-$(PKG_NPM_NAME)
|
PKG_NAME:=node-$(PKG_NPM_NAME)
|
||||||
PKG_VERSION:=0.4.48
|
PKG_VERSION:=0.4.48
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
|
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
|
||||||
PKG_SOURCE_URL:=http://registry.npmjs.org/$(PKG_NPM_NAME)/-/
|
PKG_SOURCE_URL:=http://registry.npmjs.org/$(PKG_NPM_NAME)/-/
|
||||||
|
@ -39,6 +39,8 @@ endef
|
||||||
NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
|
NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
|
||||||
TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
|
TMPNPM:=$(shell mktemp -u XXXXXXXXXX)
|
||||||
|
|
||||||
|
TARGET_CFLAGS+=$(FPIC)
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(INSTALL_DIR) $(PKG_BUILD_DIR)
|
$(INSTALL_DIR) $(PKG_BUILD_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue