[llvm-commits] [LNT] r167403 - /lnt/trunk/lnt/tests/compile.py
Michael Gottesman
mgottesman at apple.com
Mon Nov 5 13:19:17 PST 2012
Author: mgottesman
Date: Mon Nov 5 15:19:17 2012
New Revision: 167403
URL: http://llvm.org/viewvc/llvm-project?rev=167403&view=rev
Log:
[compile tests] Added LD variable to xcodebuild target.
This is to ensure that xcode uses a call to clang (which behind the
scenes calls ld) instead of attempting to invoke the system ld.
Modified:
lnt/trunk/lnt/tests/compile.py
Modified: lnt/trunk/lnt/tests/compile.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/compile.py?rev=167403&r1=167402&r2=167403&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/compile.py (original)
+++ lnt/trunk/lnt/tests/compile.py Mon Nov 5 15:19:17 2012
@@ -361,6 +361,7 @@
# We need to force this variable here because Xcode has some completely
# broken logic for deriving this variable from the compiler
# name. <rdar://problem/7989147>
+ cmd.append('LD=%s' % (opts.cc,))
cmd.append('LDPLUSPLUS=%s' % (opts.cxx,))
# Force off the static analyzer, in case it was enabled in any projects
More information about the llvm-commits
mailing list