lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 844638d5195d1a06c3bc125dab4b2fb4e8b9ca78
parent 301aa32de16cb6a176e9f496f31c89b80ba277f8
Author: John Crispin <john@phrozen.org>
Date:   Tue,  4 Oct 2016 09:13:11 +0200

Merge pull request #3056 from plntyk/fix_node

node: fix soft/hard float compile on arm/mips
Diffstat:
Mlang/node/Makefile | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/lang/node/Makefile b/lang/node/Makefile @@ -57,7 +57,18 @@ CONFIGURE_ARGS= \ --shared-openssl \ --prefix=/usr +ifneq ($(findstring arm,$(ARCH)),) +CONFIGURE_ARGS+= \ + $(if $(CONFIG_SOFT_FLOAT),--with-arm-float-abi=soft,--with-arm-float-abi=hard) +endif + +ifneq ($(findstring mips,$(ARCH)),) +CONFIGURE_ARGS+= \ + $(if $(CONFIG_SOFT_FLOAT),--with-mips-float-abi=soft,--with-mips-float-abi=hard) +endif + HOST_CONFIGURE_VARS:= + HOST_CONFIGURE_ARGS:= \ --dest-os=linux \ --without-snapshot \