Home
last modified time | relevance | path

Searched hist:"0 a5e35a7b1811308bcb2aa2e6c7e7bd49dfc9770" (Results 1 – 1 of 1) sorted by relevance

/freebsd/
H A DMakefile.libcompatdiff 0a5e35a7b1811308bcb2aa2e6c7e7bd49dfc9770 Fri Jul 14 03:36:04 CEST 2023 Jessica Clarke <jrtc27@FreeBSD.org> Makefile.libcompat: Be consistent about not installing includes

Currently we only pass MK_INCLUDES=no for distribute and install, since
it's only in LIB${_LIBCOMPAT}IMAKE, which means that we enable includes
during libraries and thus install includes into worldtmp, despite it
being shared these days across native and libcompats. This also means
we're at risk of having headers needed for building against a libcompat
that don't get installed to the system, but do end up being installed to
worldtmp. In particular, lib/msun has different fenv.h for aarch64 and
arm, so aarch64 will need arm's copy when it grows lib32 support, and
this would be installed to worldtmp, but not to the system, meaning any
programs that use fenv.h wouldn't be able to be built.

Instead, be consistent, and don't install includes at all during any of
the libcompat phases, so that we can detect these issues and ensure any
needed headers are installed for both worldtmp and the system.

Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D41030