libm: simplify i387 subdir logic with make's :S substitution

This commit is contained in:
emaste 2016-09-28 17:44:03 +00:00
parent fdb819f48c
commit 25eedae59e

View File

@ -13,11 +13,7 @@
#
PACKAGE= clibs
.if ${MACHINE_CPUARCH} == "i386"
ARCH_SUBDIR= i387
.else
ARCH_SUBDIR= ${MACHINE_CPUARCH}
.endif
ARCH_SUBDIR= ${MACHINE_CPUARCH:S/i386/i387/}
.include "${ARCH_SUBDIR}/Makefile.inc"