Update build-instructions.md: clarify where to use -DTARGET_i386=OFF flag.

This commit is contained in:
wyattscarpenter 2024-02-23 13:40:23 -08:00 committed by GitHub
parent 99f2a324b8
commit 884e7789d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,6 +171,7 @@ sudo make install
Darling normally builds both 32-bit and 64-bit versions of all libraries, to enable 32-bit programs to run under Darling. Darling normally builds both 32-bit and 64-bit versions of all libraries, to enable 32-bit programs to run under Darling.
However, this means Darling also requires 32-bit version of certain native libraries. If you can't setup a multilib environment or you just However, this means Darling also requires 32-bit version of certain native libraries. If you can't setup a multilib environment or you just
want to build only the 64-bit components, use `-DTARGET_i386=OFF` during configuration to disable building the 32-bit components. want to build only the 64-bit components, use `-DTARGET_i386=OFF` during configuration to disable building the 32-bit components.
That is, run `cmake -DTARGET_i386=OFF ..` instead of `cmake ..`.
### Parallel Builds ### Parallel Builds