libm: simplify i387 subdir logic with make's :S substitution
This commit is contained in:
parent
fdb819f48c
commit
25eedae59e
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user