[flang-dev] [RFC] Frontend driver: action vs non-action options

Michael Kruse via flang-dev flang-dev at lists.llvm.org
Tue Oct 19 09:10:11 PDT 2021


Am Do., 14. Okt. 2021 um 16:21 Uhr schrieb Peter Steinfeld
<psteinfeld at nvidia.com>:
> I think that this should apply to options generally, not just action options.

This may break build systems that assume you can do that. E.g. user
options are just appended to the command line allowing to override any
flags that the build system has set.
When compiling clang, the command line generated by CMake contains

cc  ... -DNDEBUG  -UNDEBUG

Michael


More information about the flang-dev mailing list