[flang-commits] [clang] [flang] [flang][Driver] Let the linker fail on multiple definitions of main() (PR #73124)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Thu Nov 23 07:52:35 PST 2023


================
@@ -122,6 +122,7 @@
 # the build directory holding that tool.
 tools = [
     ToolSubst("%flang", command=FindTool("flang-new"), unresolved="fatal"),
+    ToolSubst("%clang", command=FindTool("clang"), unresolved="fatal"),
----------------
mjklemm wrote:

@banach-space I had to add this, as I need both flang and clang to compile the test.  This could move to a different PR if needed.  Please advise!

https://github.com/llvm/llvm-project/pull/73124


More information about the flang-commits mailing list