package/nodejs: properly pass the --with-arm-float-abi on ARM
When commit0064132ba0
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:0064132ba0
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
17bd85379a
commit
78c8d6902d
@ -110,10 +110,10 @@ else ifeq ($(BR2_mipsel),y)
|
||||
NODEJS_CPU = mipsel
|
||||
else ifeq ($(BR2_arm),y)
|
||||
NODEJS_CPU = arm
|
||||
else ifeq ($(BR2_aarch64),y)
|
||||
NODEJS_CPU = arm64
|
||||
# V8 needs to know what floating point ABI the target is using.
|
||||
NODEJS_ARM_FP = $(GCC_TARGET_FLOAT_ABI)
|
||||
else ifeq ($(BR2_aarch64),y)
|
||||
NODEJS_CPU = arm64
|
||||
endif
|
||||
|
||||
# MIPS architecture specific options
|
||||
|
Loading…
Reference in New Issue
Block a user