llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Alex Langford (bulbazord) <details> <summary>Changes</summary> Need to pass CFLAGS to clang when building the asm files, otherwise the triple isn't used and they're automatically compiled for the host platform. --- Full diff: https://github.com/llvm/llvm-project/pull/200498.diff 1 Files Affected: - (modified) lldb/test/API/macosx/branch-islands/Makefile (+1-1) ``````````diff diff --git a/lldb/test/API/macosx/branch-islands/Makefile b/lldb/test/API/macosx/branch-islands/Makefile index 062e947f6d6ee..d7bfb33da0073 100644 --- a/lldb/test/API/macosx/branch-islands/Makefile +++ b/lldb/test/API/macosx/branch-islands/Makefile @@ -7,7 +7,7 @@ a.out: main.o padding1.o padding2.o padding3.o padding4.o foo.o ${CC} ${LDFLAGS} foo.o padding1.o padding2.o padding3.o padding4.o main.o -o a.out %.o: $(SRCDIR)/%.s - ${CC} -c $< + ${CC} ${CFLAGS} -c $< #padding1.o: padding1.s # ${CC} -c $(SRCDIR)/padding1.s `````````` </details> https://github.com/llvm/llvm-project/pull/200498 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
