Author: dim
Date: Tue Aug 21 18:24:11 2012
New Revision: 239513
URL: http://svn.freebsd.org/changeset/base/239513

Log:
  When WITH_CLANG_EXTRAS is enabled, avoid needlessly building the llvm
  and clang extras in the cross-tools stage.
  
  MFC after:    1 week

Modified:
  head/usr.bin/clang/Makefile

Modified: head/usr.bin/clang/Makefile
==============================================================================
--- head/usr.bin/clang/Makefile Tue Aug 21 18:13:09 2012        (r239512)
+++ head/usr.bin/clang/Makefile Tue Aug 21 18:24:11 2012        (r239513)
@@ -4,7 +4,7 @@
 
 SUBDIR=        clang clang-tblgen tblgen
 
-.if ${MK_CLANG_EXTRAS} != "no"
+.if ${MK_CLANG_EXTRAS} != "no" && !defined(TOOLS_PREFIX)
 SUBDIR+=bugpoint \
        llc \
        lli \
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to