2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-09 00:10:23 +03:00
Files
James Le Cuirot 257f3c38e0 dev-libs/nss: Determine arch make args using tc-get(-build)-ptr-size
USE_N32 was dropped years ago. That leaves USE_X32 as the only special case. We
cannot rely on the abi_x86_x32 USE flag here as we also need this for the build
host.

We were previously only doing this for the build host when cross-compiling, but
it's now also needed for multilib. Now that the test is simpler, just do it
unconditionally.

Also call tc-export_build_env to populate BUILD_CFLAGS and BUILD_LDFLAGS from
CFLAGS and LDFLAGS when appropriate.

Closes: https://bugs.gentoo.org/968798
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/17
Merges: https://codeberg.org/gentoo/gentoo/pulls/17
2026-01-17 15:18:15 +00:00
..