aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-09-28 17:44:03 +0000
committerEd Maste <emaste@FreeBSD.org>2016-09-28 17:44:03 +0000
commitd6e65178c62ff02d5fab093fba302bf3a9e93e8e (patch)
tree21291603b8d6395091d4031d46324333d6859e50
parentdcdfa506cc92dedc9e4189d6ee2d33171914532d (diff)
downloadsrc-d6e65178c62ff02d5fab093fba302bf3a9e93e8e.tar.gz
src-d6e65178c62ff02d5fab093fba302bf3a9e93e8e.zip
libm: simplify i387 subdir logic with make's :S substitution
Notes
Notes: svn path=/head/; revision=306410
-rw-r--r--lib/msun/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index 820855c86a75..ce586d8afed4 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -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"