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"
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to