The Node.js build system does not use LDFLAGS from the environment; these must be passed as LDFLAGS.host and LDFLAGS.target, as with LINK.*
Details
Details
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 22581 Build 21711: arc lint + arc unit
Event Timeline
Comment Actions
The Node.js build system supports cross-compilation via node-gyp, which picks up CC, CXX, LINK, C*FLAGS, and LDFLAGS from the environment for the target build, but not for the host. We only need to set the environment variables for the "host" build in the node ports.