msun/Makefile: Fix conditional and unbreak the build.

Approved by:	imp
Fixes:	20adba8bc1
This commit is contained in:
Gleb Popov 2022-09-09 10:48:48 +03:00
parent dcdf4c1acd
commit c44ca4c227

View File

@ -151,7 +151,7 @@ COMMON_SRCS+= catrig.c catrigf.c \
#COMMON_SRCS+= s_fabs.c s_frexp.c s_isnan.c s_ldexp.c s_modf.c
# Exclude the generic versions of what we provide in the MD area.
.if defined(ARCH_SRCS) && ${MK_MACHDEP_OPTIMIZATIONS} != no
.if defined(ARCH_SRCS) && "${MK_MACHDEP_OPTIMIZATIONS}" != no
.for i in ${ARCH_SRCS}
COMMON_SRCS:= ${COMMON_SRCS:N${i:R}.c}
.endfor