node: fix soft/hard float compile on arm/mips
reported by brcm2708/2709 user on IRC Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
This commit is contained in:
parent
5ae3447d2c
commit
bc86e32d43
1 changed files with 11 additions and 0 deletions
|
@ -57,7 +57,18 @@ CONFIGURE_ARGS= \
|
||||||
--shared-openssl \
|
--shared-openssl \
|
||||||
--prefix=/usr
|
--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_VARS:=
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS:= \
|
HOST_CONFIGURE_ARGS:= \
|
||||||
--dest-os=linux \
|
--dest-os=linux \
|
||||||
--without-snapshot \
|
--without-snapshot \
|
||||||
|
|
Loading…
Reference in a new issue