diff options
author | Ed Maste <emaste@FreeBSD.org> | 2016-09-28 17:44:03 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2016-09-28 17:44:03 +0000 |
commit | d6e65178c62ff02d5fab093fba302bf3a9e93e8e (patch) | |
tree | 21291603b8d6395091d4031d46324333d6859e50 | |
parent | dcdfa506cc92dedc9e4189d6ee2d33171914532d (diff) | |
download | src-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/Makefile | 6 |
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" |