1 --- a/lib/libc/Makefile
2 +++ b/lib/libc/Makefile
3 @@ -194,7 +194,7 @@ SUBDIR.${MK_TESTS}+= tests
4 # recording a build dependency
5 CFLAGS+= -I${SRCTOP}/lib/libutil
7 -MSUN_ARCH_SUBDIR != ${MAKE} -B -C ${SRCTOP}/lib/msun -V ARCH_SUBDIR
8 +MSUN_ARCH_SUBDIR = ${MACHINE_CPUARCH:S/i386/i387/}
9 # unfortunately msun/src contains both private and public headers
10 CFLAGS+= -I${SRCTOP}/lib/msun/${MSUN_ARCH_SUBDIR}
11 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"