File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
lldb/packages/Python/lldbsuite/test Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,11 @@ def getArchSpec(self, architecture):
93
93
Helper function to return the key-value string to specify the architecture
94
94
used for the make system.
95
95
"""
96
- return ("ARCH=" + architecture ) if architecture else ""
96
+ arch = architecture if architecture else None
97
+ if not arch and configuration .arch :
98
+ arch = configuration .arch
99
+
100
+ return ("ARCH=" + arch ) if arch else ""
97
101
98
102
def getCCSpec (self , compiler ):
99
103
"""
Original file line number Diff line number Diff line change @@ -2606,9 +2606,6 @@ def build(
2606
2606
"""Platform specific way to build the default binaries."""
2607
2607
module = builder_module ()
2608
2608
2609
- if not architecture and configuration .arch :
2610
- architecture = configuration .arch
2611
-
2612
2609
dictionary = lldbplatformutil .finalize_build_dictionary (dictionary )
2613
2610
if self .getDebugInfo () is None :
2614
2611
return self .buildDefault (architecture , compiler , dictionary )
You can’t perform that action at this time.
0 commit comments