Helper function to return the key-value string to specify the architecture
used for the make system.
"""
- return ("ARCH=" + architecture) if architecture else ""
+ arch = architecture if architecture else None
+ if not arch and configuration.arch:
+ arch = configuration.arch
+
+ return ("ARCH=" + arch) if arch else ""
def getCCSpec(self, compiler):
"""
"""Platform specific way to build the default binaries."""
module = builder_module()
- if not architecture and configuration.arch:
- architecture = configuration.arch
-
dictionary = lldbplatformutil.finalize_build_dictionary(dictionary)
if self.getDebugInfo() is None:
return self.buildDefault(architecture, compiler, dictionary)