Le 12/11/2018 à 00:30, Martin Husemann a écrit :
On Sun, Nov 11, 2018 at 10:24:28PM +0100, Maxime Villard wrote:
It's not complicated, we just want /usr/lib/libnvmm*, and nothing else. Just
like libx86_64.

In src/lib/libarch/x86_64/Makefile.inc:

.if (${MACHINE_ARCH} == "x86_64" && ${MLIBDIR:Unone} != "i386")
SRCS+=  x86_64_mtrr.c x86_64_iopl.c
.endif

The MLIBDIR is the (unfortunately undocumented in share/mk/bsd.README)
key, it will iterate over all compat lib types (AFAICT). See
compat/README.

Martin

I did test this, but it didn't work. I tested three combinations of MLIBDIR
and the error was still the same each time.

Reply via email to