[clang] [flang] [flang][driver] Introduce FCC_OVERRIDE_OPTIONS. (PR #140556)

Abid Qadeer via cfe-commits cfe-commits at lists.llvm.org
Fri May 30 02:30:20 PDT 2025


================
@@ -614,3 +614,30 @@ nvfortran defines `-fast` as
  - `-Mcache_align`: there is no equivalent flag in Flang or Clang.
  - `-Mflushz`: flush-to-zero mode - when `-ffast-math` is specified, Flang will
    link to `crtfastmath.o` to ensure denormal numbers are flushed to zero.
+
+
+## FCC_OVERRIDE_OPTIONS
+
+The environment variable `FCC_OVERRIDE_OPTIONS` can be used to apply a list of
+edits to the input argument lists. The value of this environment variable is
+a space separated list of edits to perform. These edits are applied in order to
+the input argument lists. Edits should be one of the following forms:
----------------
abidh wrote:

Thanks. This looks better than what I had originally. I have updated the docs.

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


More information about the cfe-commits mailing list