diff --git a/lang/node/Makefile b/lang/node/Makefile index 4f9aa79605..9bd3ddbffc 100644 --- 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 \