svn commit: r306410 - head/lib/msun

Ed Maste emaste at FreeBSD.org
Wed Sep 28 17:44:04 UTC 2016


Author: emaste
Date: Wed Sep 28 17:44:03 2016
New Revision: 306410
URL: https://svnweb.freebsd.org/changeset/base/306410

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

Modified:
  head/lib/msun/Makefile

Modified: head/lib/msun/Makefile
==============================================================================
--- head/lib/msun/Makefile	Wed Sep 28 14:48:34 2016	(r306409)
+++ head/lib/msun/Makefile	Wed Sep 28 17:44:03 2016	(r306410)
@@ -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"
 


More information about the svn-src-head mailing list