[flang-commits] [flang] [clang] [flang][driver] Add -fno-fortran-main (link time) option to remove Fortran_main from link line (PR #74139)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Mon Dec 11 01:02:28 PST 2023


================
@@ -6345,6 +6345,10 @@ def J : JoinedOrSeparate<["-"], "J">,
   Group<gfortran_Group>,
   Alias<module_dir>;
 
+def no_fortran_main : Flag<["-"], "fno-fortran-main">,
+  Visibility<[FlangOption]>, Group<f_Group>,
+  HelpText<"Don't link in Fortran main">;
----------------
mjklemm wrote:

Done, with a slightly different wording

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


More information about the flang-commits mailing list