================ @@ -37,6 +37,9 @@ def getExtraMakeArgs(self): def getArchCFlags(self, architecture): """Returns the ARCH_CFLAGS for the make system.""" + triple = self.getTriple(architecture) + if triple: + return ["ARCH_CFLAGS=-target {}".format(triple)] ---------------- dzhidzhoev wrote:
Is this needed if ARCH_CFLAGS is overwritten in Makefile? https://github.com/llvm/llvm-project/blob/279bb81cafcf1d5fcbb3f605293a52c0cbe25f9b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules#L90 https://github.com/llvm/llvm-project/pull/151403 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits