Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 16:35:26 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211759 - head/lib
Message-ID:  <201008241635.o7OGZQIM081708@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008241635.o7OGZQIM081708>