Browse Source

Merge pull request #3056 from plntyk/fix_node

node: fix soft/hard float compile on arm/mips
lilik-openwrt-22.03
John Crispin 8 years ago
committed by GitHub
parent
commit
844638d519
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      lang/node/Makefile

+ 11
- 0
lang/node/Makefile View File

@ -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 \


Loading…
Cancel
Save