Multilib/gx86-multilib

This page will use amd64 with the additional 32-bit API for illustration, users of other multilib-enabled arches should adapt the instructions accordingly.

Due to limitations in the older emul-linux-x86-* multilib solution, it is generally troublesome to toggle eclass based multilib on individual packages. Thus, this page currently only describes how to enable it system wide. These difficulties are expected to lessen as more of the packages provided by the emul-linux-x86-* packages are migrated to use eclass based multilib, and other packages are updated to accept the migrated packages in their dependencies.

Unmask required use flags
This unmasking step is only required if stable arch is enabled. In other words, if the system has  set in  file, then unmasking is not necessary.

Enabling an additional ABI
It is not strictly necessary to specify the default (64-bit) ABI since it is force-enabled by 64-bit profiles, but does not hurt to add it:

Note on CFLAGS
For those that enable the 32-bit/64-bit ABI CFLAGS options must NOT include any  options.

This will allow the  to select the compiler options during the configure and make process.