Specifying npm arm floating point type

I am trying to install the leveldb node (https://github.com/node-red/node-red-nodes/tree/master/storage/leveldb) and am having issues adding it to my platform. The device is an AXC F 2152, and has a hardware floating point unit; however, I'm currently using Entware (https://github.com/Entware/Entware) as the software repository, which does not have a hardware floating point branch.

The leveldb node wants to build with floating point support, as I do not have compiler support (using gcc from Entware), I would like to build it with software floating point support instead. How should I proceed?

Hackish fixes that I've tried so far:

  1. Manually edit /opt/include/gnu/stubs.h to only reference stubs-soft.h (removed stubs-hard.h), which fixes the first error that I encounter about being unable to find stubs-hard.h. However, it then fails at linking because of references to the VFP registers. I am assuming that something else somewhere is still trying to use hardware float support.