[Lldb-commits] [lldb] r282178 - The host version of lldb always builds for macosx
Enrico Granata via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 22 10:47:33 PDT 2016
Author: enrico
Date: Thu Sep 22 12:47:33 2016
New Revision: 282178
URL: http://llvm.org/viewvc/llvm-project?rev=282178&view=rev
Log:
The host version of lldb always builds for macosx
Modified:
lldb/trunk/scripts/Xcode/lldbbuild.py
Modified: lldb/trunk/scripts/Xcode/lldbbuild.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Xcode/lldbbuild.py?rev=282178&r1=282177&r2=282178&view=diff
==============================================================================
--- lldb/trunk/scripts/Xcode/lldbbuild.py (original)
+++ lldb/trunk/scripts/Xcode/lldbbuild.py Thu Sep 22 12:47:33 2016
@@ -35,6 +35,9 @@ def expected_package_build_path():
def architecture():
+ rc_project_name = os.environ.get('RC_ProjectName')
+ if rc_project_name:
+ if rc_project_name == 'lldb_host': return 'macosx'
platform_name = os.environ.get('RC_PLATFORM_NAME')
if not platform_name:
platform_name = os.environ.get('PLATFORM_NAME')
More information about the lldb-commits
mailing list