[flang-commits] [flang] [flang][driver] Make the -J option less restrictive so we would not have to struggle with autoconf (PR #110010)

David Spickett via flang-commits flang-commits at lists.llvm.org
Thu Sep 26 04:28:15 PDT 2024


================
@@ -832,12 +833,15 @@ static bool parseSemaArgs(CompilerInvocation &res, llvm::opt::ArgList &args,
   // -J/module-dir option
   auto moduleDirList =
       args.getAllArgValues(clang::driver::options::OPT_module_dir);
-  // User can only specify -J/-module-dir once
+  // User can only specify one -J/-module-dir directory
----------------
DavidSpickett wrote:

"...but may repeat -J as long as the directory is the same each time."

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


More information about the flang-commits mailing list