build: adds configure flag notargettype
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
build
Description of change
In the wake of #7440 in order to replace GYP https://github.com/nodejs/CTC/issues/2, this would be the first step. Effectively ./configure --no-target-type
will still compile any dependency and run js2c
, but not let gyp gcc src/*.cc -c -o out/*.o
and run the linker as last build step.
This can be used, as presented in the above PR, to build node-core with node itself.
In order to fully compile without gyp, it's a long way, but definitely doable