Author: imp
Date: Tue Aug 24 16:35:26 2010
New Revision: 211759
URL: http://svn.freebsd.org/changeset/base/211759

Log:
  Change the logic here to match Makefile.inc1.  Having it in two places
  suggests an opportunity for refactoring :)
  
  Submitted by: nathanw@

Modified:
  head/lib/Makefile

Modified: head/lib/Makefile
==============================================================================
--- head/lib/Makefile   Tue Aug 24 16:29:09 2010        (r211758)
+++ head/lib/Makefile   Tue Aug 24 16:35:26 2010        (r211759)
@@ -112,7 +112,9 @@ SUBDIR=     ${SUBDIR_ORDERED} \
        ${_bind} \
        ${_clang}
 
-.if exists(${.CURDIR}/csu/${MACHINE_CPUARCH}-elf)
+.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
+_csu=csu/${MACHINE_ARCH}-elf
+.elif exists(${.CURDIR}/csu/${MACHINE_CPUARCH}-elf)
 _csu=csu/${MACHINE_CPUARCH}-elf
 .elif exists(${.CURDIR}/csu/${MACHINE_CPUARCH}/Makefile)
 _csu=csu/${MACHINE_CPUARCH}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to