Merge pull request #8697 from nxhack/things_gateway_add_pic

node-mozilla-iot-gateway: fix i386 build fail
This commit is contained in:
Rosen Penev 2019-04-17 00:03:41 -07:00 committed by GitHub
commit c1d189111f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NPM_NAME:=mozilla-iot-gateway
PKG_NAME:=node-$(PKG_NPM_NAME)
PKG_VERSION:=0.7.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/mozilla-iot/gateway/tar.gz/v$(PKG_VERSION)?
@ -49,6 +49,8 @@ endef
CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
TARGET_CFLAGS+=$(FPIC)
define Build/Compile
$(MAKE_VARS) \
$(MAKE_FLAGS) \