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

Kiran Chandramohan via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 23 09:38:21 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"),
----------------
kiranchandramohan wrote:

Remove this if using the system compiler works.

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


More information about the cfe-commits mailing list