Hi All,

In the instructions for Qtwebengine you propose to use the instruction NINJAJOBS = x to avoid some problems. This variable, defined in the Ninja patch of LFS collides with the present variable in ../src/core/gn_run.pro of the qtwebengine package,
which causes strange compilation errors.

alain [ ~/Public/prog/unpack/qtwebengine-everywhere-src-5.13.2 ]$ grep -R NINJAJOBS * src/core/gn_run.pro: runninja.commands = $$NINJA $$ninjaflags \$\(NINJAJOBS\) -C $$gn_build_root QtWebEngineCore


That's why I propose to replace in the LFS patch of ninja, the variable NINJAJOBS by NINJACORES.
Indeed, if we examine the patched function in the ninja source code,
this function calculates the number of processors by default (cores) rather than the number of jobs it can perform. It therefore seems more judicious to call this variable NINJACORES rather than NINJAJOBS.

Bye
Alain
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to