`-module-dir` is Flang's equivalent for `-J` from GFortran (in fact, `-J` is an alias for `-module-dir` in Flang). Currently, only `-module-dir <value>` is accepted. However, `-J` (and other options for specifying various paths) accepts `-J<value>` as well as `-J <value>`. This patch makes sure that `-module-dir` behaves consistently with other such flags. Differential Revision: https://reviews.llvm.org/D125957
1.2 KiB
1.2 KiB