diff options
author | Mark Johnston <markj@FreeBSD.org> | 2025-09-07 16:07:32 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2025-09-07 16:07:46 +0000 |
commit | 4341f92251ae00c3f82904623bfd561bb8ea49fb (patch) | |
tree | 2ee5a984347004fca63501cdd44b3024406483ee /release/Makefile | |
parent | ac2f284258e4c6d5867aa6a411bd44df349fe416 (diff) |
When cross-building from MacOS we have MACHINE=arm64 MACHINE_ARCH=arm,
so bsd.cpu.mk infers that sizeof(long) == 4, but of course it isn't.
This breaks the bootstrap build of openssl, which tests
MACHINE_ABI:Mlong64 to decide whether to build ecp_nistp224.c. It
doesn't, and crypto/openssl/freebsd/include/openssl/configuration.h
undefines OPENSSL_NO_EC_NISTP_64_GCC_128, so we end up with a link
error.
Reviewed by: ngie, emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D52340
Diffstat (limited to 'release/Makefile')
0 files changed, 0 insertions, 0 deletions