[clang] [flang] [clang][driver] Special care for -l flags in config files (PR #117573)

Paul Osmialowski via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 2 08:28:38 PST 2024


================
@@ -0,0 +1 @@
+-ffast-math -Wl,--as-needed | -lm -Wl,-Bstatic -lhappy -Wl,-Bdynamic
----------------
pawosm-arm wrote:

We could prefix those linker flags with some character, e.g. '@', it would work like that:

```
-ffast-math @-lm
-Wl,--as-needed @-Wl,-Bstatic -lhappy
@-Wl,-Bdynamic
```


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


More information about the cfe-commits mailing list