package/nodejs: properly pass the --with-arm-float-abi on ARM
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 27 Nov 2019 20:36:46 +0000 (21:36 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 28 Nov 2019 15:53:47 +0000 (16:53 +0100)
commit78c8d6902ddb17e7a9ae3eafdecec34ff5e20914
treefc7e72ebae5df68cb16ea8e66bf212a52da3f9b6
parent17bd85379a4c8a507231aba5546b4bb9042df7a2
package/nodejs: properly pass the --with-arm-float-abi on ARM

When commit 0064132ba032da39cefa4fffe59c31a71d1f1ddb introduced ARM64
support in nodejs.mk, it incorrectly kept the NODEJS_ARM_FP
definition. This variable is used to pass --with-arm-float-abi, which
in NodeJS's configure.py script is only used when --dest-cpu=arm, and
not when --dest-cpu=arm64.

So we are passing --with-arm-float-abi=<something> for ARM64, which
has no effect, and we are no longer passing it on ARM.

This commit fixes that by putting the NODEJS_ARM_FP definition back at
the right location.

Fixes:

   0064132ba032da39cefa4fffe59c31a71d1f1ddb

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nodejs/nodejs.mk